PeriodicTimer Konstruktory

Definicja

Przeciążenia

PeriodicTimer(TimeSpan)

Inicjuje czasomierz.

PeriodicTimer(TimeSpan, TimeProvider)

Inicjuje czasomierz.

PeriodicTimer(TimeSpan)

Źródło:
PeriodicTimer.cs
Źródło:
PeriodicTimer.cs
Źródło:
PeriodicTimer.cs

Inicjuje czasomierz.

public:
 PeriodicTimer(TimeSpan period);
public PeriodicTimer (TimeSpan period);
new System.Threading.PeriodicTimer : TimeSpan -> System.Threading.PeriodicTimer
Public Sub New (period As TimeSpan)

Parametry

period
TimeSpan

Interwał czasu w milisekundach między wywołaniami wywołania zwrotnego.

Wyjątki

period jest mniejsza niż lub równa 0 lub większa niż lub równa UInt32.MaxValue.

Dotyczy

PeriodicTimer(TimeSpan, TimeProvider)

Źródło:
PeriodicTimer.cs
Źródło:
PeriodicTimer.cs

Inicjuje czasomierz.

public:
 PeriodicTimer(TimeSpan period, TimeProvider ^ timeProvider);
public PeriodicTimer (TimeSpan period, TimeProvider timeProvider);
new System.Threading.PeriodicTimer : TimeSpan * TimeProvider -> System.Threading.PeriodicTimer
Public Sub New (period As TimeSpan, timeProvider As TimeProvider)

Parametry

period
TimeSpan

Okres między kleszczami.

timeProvider
TimeProvider

Służy TimeProvider do interpretowania period.

Wyjątki

period musi być InfiniteTimeSpan lub reprezentować liczbę milisekund równą lub większą niż 1 i mniejszą niż MaxValue.

timeProvider to null.

Dotyczy