Edytuj

Udostępnij za pośrednictwem


DispatchSource.SignalMonitor Constructors

Definition

Overloads

DispatchSource.SignalMonitor(IntPtr)
DispatchSource.SignalMonitor(Int32, DispatchQueue)

Creates a process signal monitor

DispatchSource.SignalMonitor(IntPtr, Boolean)

DispatchSource.SignalMonitor(IntPtr)

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

Parameters

handle
IntPtr

nativeint

Applies to

DispatchSource.SignalMonitor(Int32, DispatchQueue)

Creates a process signal monitor

public SignalMonitor (int signalNumber, CoreFoundation.DispatchQueue queue = null);
new CoreFoundation.DispatchSource.SignalMonitor : int * CoreFoundation.DispatchQueue -> CoreFoundation.DispatchSource.SignalMonitor

Parameters

signalNumber
Int32

Signal to monitor

queue
DispatchQueue

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

Remarks

Applies to

DispatchSource.SignalMonitor(IntPtr, Boolean)

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

Parameters

handle
IntPtr

nativeint

owns
Boolean

Applies to