|
SharedTimerAutoReset Property
|
Gets or sets flag that indicates whether the
SharedTimer should raise the
Elapsed event only
once
false or repeatedly
true.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.241-beta+912389e96d98840d2a999d490420db618dcbe4c6
Syntaxpublic bool AutoReset { get; set; }
Public Property AutoReset As Boolean
Get
Set
public:
property bool AutoReset {
bool get ();
void set (bool value);
}
member AutoReset : bool with get, set
function get_AutoReset();
function set_AutoReset(value);
View SourceReturn Value
Booleantrue 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