Edytuj

Udostępnij za pośrednictwem


DispatchSource.Timer Constructors

Definition

Overloads

DispatchSource.Timer(DispatchQueue)

Creates a timer dispatch source that will be invoked at periodic intervals.

DispatchSource.Timer(IntPtr)
DispatchSource.Timer(Boolean, DispatchQueue)
DispatchSource.Timer(IntPtr, Boolean)

DispatchSource.Timer(DispatchQueue)

Creates a timer dispatch source that will be invoked at periodic intervals.

public Timer (CoreFoundation.DispatchQueue queue = null);
new CoreFoundation.DispatchSource.Timer : CoreFoundation.DispatchQueue -> CoreFoundation.DispatchSource.Timer

Parameters

queue
DispatchQueue

The target queue for this dispatch source object.   Pass null to use the default target queue (the default priority global concurrent queue).

Applies to

DispatchSource.Timer(IntPtr)

public Timer (IntPtr handle);
new CoreFoundation.DispatchSource.Timer : nativeint -> CoreFoundation.DispatchSource.Timer

Parameters

handle
IntPtr

nativeint

Applies to

DispatchSource.Timer(Boolean, DispatchQueue)

public Timer (bool strict = false, CoreFoundation.DispatchQueue queue = null);
new CoreFoundation.DispatchSource.Timer : bool * CoreFoundation.DispatchQueue -> CoreFoundation.DispatchSource.Timer

Parameters

strict
Boolean

Applies to

DispatchSource.Timer(IntPtr, Boolean)

public Timer (IntPtr handle, bool owns);
new CoreFoundation.DispatchSource.Timer : nativeint * bool -> CoreFoundation.DispatchSource.Timer

Parameters

handle
IntPtr

nativeint

owns
Boolean

Applies to