Gemstone Threading Library
Show/Hide TOC

# SharedTimerAutoReset Property

Gets or sets flag that indicates whether the SharedTimer should raise the Elapsed event only once false or repeatedly true.

## Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.156 -- Release Build+d9c3c9ff423cb81bc351c70c72797c5bc686ec2e
C#
View Source Request Example

    public bool AutoReset { get; set; }

VB
View Source Request Example

    Public Property AutoReset As Boolean
    	Get
    	Set

C++
View Source Request Example

    public:
    property bool AutoReset {
    	bool get ();
    	void set (bool value);
    }

JavaScript
View Source Request Example

    function get_AutoReset();
    function set_AutoReset(value);

#### Return Value

Boolean
true the SharedTimer should raise the Elapsed event each time the interval elapses; otherwise, false if it should raise the Elapsed event only once, after the first time the interval elapses. The default is true.

## See Also

#### Reference

SharedTimer Class
Gemstone.Threading Namespace