TransportBindingElement Classe

Definição

Uma classe base abstract que representa um elemento de associação de transporte.An abstract base class that represents a transport binding element.

public ref class TransportBindingElement abstract : System::ServiceModel::Channels::BindingElement
public abstract class TransportBindingElement : System.ServiceModel.Channels.BindingElement
type TransportBindingElement = class
    inherit BindingElement
Public MustInherit Class TransportBindingElement
Inherits BindingElement
Herança
TransportBindingElement
Derivado

Comentários

Essa classe fatores que são propriedades que são comuns a todos os elementos de associação de transporte fornecidos pelo Windows Communication Foundation (WCF).This class factors out properties that are common to all of the transport binding elements provided by the Windows Communication Foundation (WCF). Ele lida com a tradução das configurações de transporte base para as manifestações de tempo de execução.It handles the translation of the base transport settings into run-time manifestations. Ele delega a conversão de configurações específicas de transporte (por exemplo, HttpProxySettings para HTTP) lógica em suas associações de transporte de classe derivadas concretas, que incluem as seguintes classes:It delegates the translation of transport-specific settings (for example, HttpProxySettings for HTTP) logic in its concrete derived class transport bindings, which include the following classes:

Observação

Os desenvolvedores de elementos de associação de transporte personalizados devem herdar dessa classe, que deriva da BindingElement classe.Custom transport binding element developers must inherit from this class, which derives from the BindingElement class.

Construtores

TransportBindingElement()

Cria uma nova instância dessa classe.Creates a new instance of this class.

TransportBindingElement(TransportBindingElement)

Cria uma nova instância desta classe de uma instância existente.Creates a new instance of this class from an existing instance.

Propriedades

ManualAddressing

Obtém ou define um valor que indica se o endereçamento manual da mensagem é necessário.Gets or sets a value that indicates whether manual addressing of the message is required.

MaxBufferPoolSize

Obtém ou define o tamanho máximo, em bytes, de qualquer pool de buffer usado pelo transporte.Gets or sets the maximum size, in bytes, of any buffer pools used by the transport.

MaxReceivedMessageSize

Obtém ou define o tamanho de mensagem máximo permitido, em bytes, que pode ser recebido.Gets or sets the maximum allowable message size, in bytes, that can be received.

Scheme

Obtém o esquema do URI para o transporte.Gets the URI scheme for the transport.

Métodos

BuildChannelFactory<TChannel>(BindingContext)

Inicializa uma fábrica de canais para produzir canais de um tipo especificado do contexto de associação.Initializes a channel factory for producing channels of a specified type from the binding context.

(Herdado de BindingElement)
BuildChannelListener<TChannel>(BindingContext)

Inicializa um ouvinte de canais para aceitar canais de um tipo especificado do contexto de associação.Initializes a channel listener to accept channels of a specified type from the binding context.

(Herdado de BindingElement)
CanBuildChannelFactory<TChannel>(BindingContext)

Retorna um valor que indica se o elemento de associação pode criar uma fábrica de canais para um tipo de canal específico.Returns a value that indicates whether the binding element can build a channel factory for a specific type of channel.

(Herdado de BindingElement)
CanBuildChannelListener<TChannel>(BindingContext)

Retorna um valor que indica se o elemento de associação pode criar um ouvinte para um tipo de canal específico.Returns a value that indicates whether the binding element can build a listener for a specific type of channel.

(Herdado de BindingElement)
Clone()

Quando substituído em uma classe derivada, retorna uma cópia do objeto do elemento de associação.When overridden in a derived class, returns a copy of the binding element object.

(Herdado de BindingElement)
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)
GetProperty<T>(BindingContext)

Obtém uma propriedade do BindingContext especificado.Gets a property from the specified BindingContext.

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