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.162 -- Release Build+7fb59487e2752bb14cc6b30d8b8d9d6a88cf222f
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