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.174 -- Release Build+6575dd693dbd5e3d5a41dd1450ccb8ddc2885703
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