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.159 -- Release Build+94b67ea5187267d7edb4458b634b6580ba7dbb78
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