Edytuj

Udostępnij za pośrednictwem


DispatchSource.WriteMonitor Constructors

Definition

Overloads

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

Creates a file descriptor monitor that invokes the event handler when writing to the file descriptor wont block.

DispatchSource.WriteMonitor(IntPtr, Boolean)

DispatchSource.WriteMonitor(IntPtr)

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

Parameters

handle
IntPtr

nativeint

Applies to

DispatchSource.WriteMonitor(Int32, DispatchQueue)

Creates a file descriptor monitor that invokes the event handler when writing to the file descriptor wont block.

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

Parameters

fileDescriptor
Int32
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.WriteMonitor(IntPtr, Boolean)

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

Parameters

handle
IntPtr

nativeint

owns
Boolean

Applies to