EventTimerCreateSeconds Method

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

Definition

Namespace: SnapDB.Threading
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static EventTimer CreateSeconds(
	double periodInSecond,
	double dayOffsetInSecond = 0
)

Parameters

periodInSecond  Double
The time interval between timer events in seconds.
dayOffsetInSecond  Double  (Optional)
The initial offset from the start of the day in seconds (optional).

Return Value

EventTimer
A new EventTimer instance.

See Also