ConnectionOrientedTransportBindingElement Classe

Definição

Uma classe abstrata que suplementa o TransportBindingElement base com propriedades adicionais comuns a transportes voltados para a conexão como TCP e pipes nomeados.An abstract class that supplements the base TransportBindingElement with additional properties that are common to connection-oriented transports such as TCP and named pipes.

public ref class ConnectionOrientedTransportBindingElement abstract : System::ServiceModel::Channels::TransportBindingElement
public ref class ConnectionOrientedTransportBindingElement abstract : System::ServiceModel::Channels::TransportBindingElement, System::ServiceModel::Description::IPolicyExportExtension, System::ServiceModel::Description::IWsdlExportExtension
public abstract class ConnectionOrientedTransportBindingElement : System.ServiceModel.Channels.TransportBindingElement
public abstract class ConnectionOrientedTransportBindingElement : System.ServiceModel.Channels.TransportBindingElement, System.ServiceModel.Description.IPolicyExportExtension, System.ServiceModel.Description.IWsdlExportExtension
type ConnectionOrientedTransportBindingElement = class
    inherit TransportBindingElement
type ConnectionOrientedTransportBindingElement = class
    inherit TransportBindingElement
    interface IWsdlExportExtension
    interface IPolicyExportExtension
type ConnectionOrientedTransportBindingElement = class
    inherit TransportBindingElement
    interface IPolicyExportExtension
    interface IWsdlExportExtension
Public MustInherit Class ConnectionOrientedTransportBindingElement
Inherits TransportBindingElement
Public MustInherit Class ConnectionOrientedTransportBindingElement
Inherits TransportBindingElement
Implements IPolicyExportExtension, IWsdlExportExtension
Herança
ConnectionOrientedTransportBindingElement
Derivado
Implementações

Comentários

Essa classe está documentada para fornecer uma compreensão mais completa da hierarquia de transportes e não deve ser chamada diretamente.This class is documented to give a more complete understanding of the transports hierarchy and is not expected to be directly called. O construtor é interno para evitar a construção e a invocação direta.The constructor is internal to avoid direct construction and invocation. As propriedades públicas desse elemento de associação podem ser chamadas a partir das classes derivadas TcpTransportBindingElement e NamedPipeTransportBindingElement .The public properties of this binding element can be called from the derived classes TcpTransportBindingElement and NamedPipeTransportBindingElement.

Propriedades

ChannelInitializationTimeout

Obtém ou define um TimeSpan que determina o tempo máximo que um canal pode estar com o status de inicialização antes de ser desconectado.Gets or sets a TimeSpan that determines the maximum time a channel can be in the initialization status before being disconnected.

ConnectionBufferSize

Obtém ou define o tamanho do buffer usado para transmitir uma parte da mensagem serializada na conexão do cliente ou do serviço.Gets or sets the size of the buffer used to transmit a chunk of the serialized message on the wire from the client or service.

HostNameComparisonMode

Obtém ou define um valor que indica se o nome do host é usado para alcançar o serviço ao fazer correspondência no URI.Gets or sets a value that indicates whether the hostname is used to reach the service when matching on the URI.

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.

(Herdado de TransportBindingElement)
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.

(Herdado de TransportBindingElement)
MaxBufferSize

Obtém ou define o tamanho máximo do buffer a ser usado.Gets or sets the maximum size of the buffer to use. Para mensagens transmitidas, este valor deve ser pelo menos o tamanho máximo possível dos cabeçalhos de mensagem, lidos em modo em buffer.For streamed messages, this value should be at least the maximum possible size of the message headers, which are read in buffered mode.

MaxOutputDelay

Obtém ou define o intervalo máximo de tempo que uma parte de uma mensagem ou uma mensagem completa pode permanecer armazenada em buffer na memória antes de ser enviada.Gets or sets the maximum interval of time that a chunk of a message or a full message can remain buffered in memory before being sent out.

MaxPendingAccepts

Obtém ou define o número máximo de canais que um serviço pode ter aguardando um ouvinte para processar conexões de entrada para o serviço.Gets or sets the maximum number of channels a service can have waiting on a listener for processing incoming connections to the service.

MaxPendingConnections

Obtém ou define o número máximo de conexões aguardando a expedição no serviço.Gets or sets the maximum number of connections awaiting dispatch on the service.

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.

(Herdado de TransportBindingElement)
Scheme

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

(Herdado de TransportBindingElement)
TransferMode

Obtém ou define um valor que indica se as mensagens são armazenadas em buffer ou transmitidas com o transporte voltado para a conexão.Gets or sets a value that indicates whether the messages are buffered or streamed with the connection-oriented 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)

Determina se uma fábrica de canais do tipo especificado pode ser criada.Determines whether a channel factory of the specified type can be built.

CanBuildChannelListener<TChannel>(BindingContext)

Determina se um ouvinte de canais do tipo especificado pode ser criado.Determines whether a channel listener of the specified type can be built.

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 as propriedades da pilha de associação, se presentes.Gets properties from the binding stack, if present.

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)
ShouldSerializeMaxPendingAccepts()

Indica se o elemento de associação de transporte voltado para a conexão deve serializar o máximo de aceitações pendentes.Indicates whether the connection oriented transport binding element should serialize maximum pending accepts.

ShouldSerializeMaxPendingConnections()

Indica se o elemento de associação de transporte voltado para a conexão deve serializar o máximo de conexões pendentes.Indicates whether the connection oriented transport binding element should serialize maximum pending connections.

ToString()

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

(Herdado de Object)

Implantações explícitas de interface

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

Exporta uma asserção de política personalizada sobre associações.Exports a custom policy assertion about bindings.

IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

Grava elementos de WSDL (linguagem WSDL) personalizados na WSDL gerada para um contrato.Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.

IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

Grava elementos WSDL (linguagem WSDL) personalizados no WSDL gerado para um ponto de extremidade.Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.

Aplica-se a