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.173 -- Release Build+b43e687700b23322cdf6cd7642c9e1eac79619dd
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