EventTimerCreate Method

Creates a new instance of the EventTimer class with the specified period and day offset.

Definition

Namespace: SnapDB.Threading
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static EventTimer Create(
	TimeSpan period,
	TimeSpan dayOffset = default
)

Parameters

period  TimeSpan
The time interval between timer events.
dayOffset  TimeSpan  (Optional)
The initial offset from the start of the day (optional).

Return Value

EventTimer
A new EventTimer instance.

See Also