Partilhar via


DispatchSource.MachReceive Construtores

Definição

Sobrecargas

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

Cria uma fonte de expedição que monitora a porta mach especificada para disponibilidade de mensagens.

DispatchSource.MachReceive(IntPtr, Boolean)

DispatchSource.MachReceive(IntPtr)

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

Parâmetros

handle
IntPtr

nativeint

Aplica-se a

DispatchSource.MachReceive(Int32, DispatchQueue)

Cria uma fonte de expedição que monitora a porta mach especificada para disponibilidade de mensagens.

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

Parâmetros

machPort
Int32

Porta mach para monitorar dados de entrada.

queue
DispatchQueue

A fila de destino para esse objeto de origem de expedição.   Passe nulo para usar a fila de destino padrão (a fila simultânea global de prioridade padrão).

Comentários

Aplica-se a

DispatchSource.MachReceive(IntPtr, Boolean)

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

Parâmetros

handle
IntPtr

nativeint

owns
Boolean

Aplica-se a