共用方式為


DispatchSource.SignalMonitor 建構函式

定義

多載

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

建立進程訊號監視器

DispatchSource.SignalMonitor(IntPtr, Boolean)

DispatchSource.SignalMonitor(IntPtr)

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

參數

handle
IntPtr

nativeint

適用於

DispatchSource.SignalMonitor(Int32, DispatchQueue)

建立進程訊號監視器

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

參數

signalNumber
Int32

要監視的訊號

queue
DispatchQueue

這個分派來源物件的目標佇列。   傳遞 null 以使用預設目標佇列, (預設優先順序全域並行佇列) 。

備註

適用於

DispatchSource.SignalMonitor(IntPtr, Boolean)

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

參數

handle
IntPtr

nativeint

owns
Boolean

適用於