ChannelOptions Classe

Definição

Fornece opções que controlam o comportamento das instâncias do canal.Provides options that control the behavior of channel instances.

public ref class ChannelOptions abstract
public abstract class ChannelOptions
type ChannelOptions = class
Public MustInherit Class ChannelOptions
Herança
ChannelOptions
Derivado

Construtores

ChannelOptions()

Inicializa uma instância da classe ChannelOptions.Initializes an instance of the ChannelOptions class.

Propriedades

AllowSynchronousContinuations

true se as operações executadas em um canal puderem invocar, de forma síncrona, continuações assinadas para notificações de operações assíncronas pendentes. false se todas as continuações devem ser invocadas de forma assíncrona.true if operations performed on a channel may synchronously invoke continuations subscribed to notifications of pending async operations; false if all continuations should be invoked asynchronously.

SingleReader

true os leitores do canal garantem que sempre haverá no máximo uma operação de leitura por vez. false se tal restrição não for garantida.true readers from the channel guarantee that there will only ever be at most one read operation at a time; false if no such constraint is guaranteed.

SingleWriter

true os gravadores do canal garantem que sempre haverá no máximo uma operação de gravação por vez. false se tal restrição não for garantida.true if writers to the channel guarantee that there will only ever be at most one write operation at a time; false if no such constraint is guaranteed.

Métodos

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a