Edytuj

Udostępnij za pośrednictwem


DispatchSource.ProcessMonitor Class

Definition

Dispatch Source of this type monitor processes for state changes

public class DispatchSource.ProcessMonitor : CoreFoundation.DispatchSource
type DispatchSource.ProcessMonitor = class
    inherit DispatchSource
Inheritance
DispatchSource.ProcessMonitor
Inheritance
DispatchSource.ProcessMonitor

Remarks

This dispatch source can monitor processes terminating, forking, exceeding or being signaled.

Constructors

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

Properties

Handle (Inherited from DispatchObject)
IsCanceled

Determine whether the specified source has been canceled.

(Inherited from DispatchSource)
MonitorFlags

Determines which events were observed.

ProcessId

The process ID that is being monitored

Methods

Activate() (Inherited from DispatchObject)
Cancel()

Asynchronously cancels the dispatch source.

(Inherited from DispatchSource)
Check()
Obsolete.
(Inherited from DispatchObject)
Dispose() (Inherited from DispatchObject)
Dispose(Boolean)

Releases the resources used by the DispatchSource object.

(Inherited from DispatchSource)
Equals(Object) (Inherited from DispatchObject)
GetHashCode()

Returns the hashcode for this object

(Inherited from DispatchObject)
InitializeHandle(IntPtr) (Inherited from NativeObject)
Release() (Inherited from DispatchObject)
Resume()

Resumes the dispatch source.

(Inherited from DispatchSource)
Retain() (Inherited from DispatchObject)
SetCancelHandler(Action)

Provides a cancellation handler

(Inherited from DispatchSource)
SetEventHandler(Action)

Specified a handler to execute when events are received on the dispatch source.

(Inherited from DispatchSource)
SetRegistrationHandler(Action)

Provides a registration handler

(Inherited from DispatchSource)
SetTargetQueue(DispatchQueue) (Inherited from DispatchObject)
Suspend()

Suspends the dispatch source.

(Inherited from DispatchSource)

Applies to