編集

次の方法で共有


DispatchSource.ProcessMonitor Constructors

Definition

Overloads

DispatchSource.ProcessMonitor(IntPtr)
DispatchSource.ProcessMonitor(IntPtr, Boolean)
DispatchSource.ProcessMonitor(Int32, ProcessMonitorFlags, DispatchQueue)

DispatchSource.ProcessMonitor(IntPtr)

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

Parameters

handle
IntPtr

nativeint

Applies to

DispatchSource.ProcessMonitor(IntPtr, Boolean)

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

Parameters

handle
IntPtr

nativeint

owns
Boolean

Applies to

DispatchSource.ProcessMonitor(Int32, ProcessMonitorFlags, DispatchQueue)

public ProcessMonitor (int processId, CoreFoundation.ProcessMonitorFlags monitorKind = CoreFoundation.ProcessMonitorFlags.Exit, CoreFoundation.DispatchQueue queue = null);
new CoreFoundation.DispatchSource.ProcessMonitor : int * CoreFoundation.ProcessMonitorFlags * CoreFoundation.DispatchQueue -> CoreFoundation.DispatchSource.ProcessMonitor

Parameters

processId
Int32

The process ID to monitor.

monitorKind
ProcessMonitorFlags

The kind of monitoring desired fo the specified process.

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