NetTcpBindingElement Classe
Definição
Representa um elemento XML que especifica uma associação para mensagens TCP específicas de canal par.Represents an XML element that specifies a binding for peer channel-specific TCP messaging.
public ref class NetTcpBindingElement : System::ServiceModel::Configuration::StandardBindingElement
public class NetTcpBindingElement : System.ServiceModel.Configuration.StandardBindingElement
type NetTcpBindingElement = class
inherit StandardBindingElement
Public Class NetTcpBindingElement
Inherits StandardBindingElement
- Herança
- Herança
-
NetTcpBindingElement
- Derivado
Comentários
O netTcpbinding é uma associação segura, confiável e otimizada adequada para comunicação entre computadores.The netTcpBinding is a secure, reliable, optimized binding suitable for cross-machine communication. Por padrão, ele gera uma pilha de comunicação de tempo de execução com WS-ReliableMessaging para confiabilidade, segurança do Windows para segurança e autenticação de mensagens, TCP para entrega de mensagens e codificação de mensagens binárias.By default, it generates a run-time communication stack with WS-ReliableMessaging for reliability, Windows Security for message security and authentication, TCP for message delivery, and binary message encoding.
Construtores
| NetTcpBindingElement() |
Inicializa uma nova instância da classe NetTcpBindingElement.Initializes a new instance of the NetTcpBindingElement class. |
| NetTcpBindingElement(String) |
Inicializa uma nova instância da classe NetTcpBindingElement com o nome de configuração especificado.Initializes a new instance of the NetTcpBindingElement class with the specified configuration name. |
Propriedades
| BindingElementType |
Obtém o tipo deste elemento de configuração.Gets the type of this configuration element. |
| CloseTimeout |
Obtém ou define o intervalo de tempo fornecido para a conclusão de uma operação de fechamento.Gets or sets the interval of time provided for a close operation to complete. (Herdado de StandardBindingElement) |
| CurrentConfiguration |
Obtém uma referência para a instância Configuration de nível superior que representa a hierarquia de configuração à qual a instância atual ConfigurationElement pertence.Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to. (Herdado de ConfigurationElement) |
| ElementInformation |
Obtém um objeto ElementInformation que contém as informações não personalizáveis e a funcionalidade do objeto ConfigurationElement.Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object. (Herdado de ConfigurationElement) |
| ElementProperty |
Obtém o objeto ConfigurationElementProperty que representa o próprio objeto ConfigurationElement.Gets the ConfigurationElementProperty object that represents the ConfigurationElement object itself. (Herdado de ConfigurationElement) |
| EvaluationContext |
Obtém o objeto ContextInformation para o objeto ConfigurationElement.Gets the ContextInformation object for the ConfigurationElement object. (Herdado de ConfigurationElement) |
| HasContext |
Obtém um valor que indica se a propriedade CurrentConfiguration é |
| HostNameComparisonMode |
Obtém ou define um valor que indica se o nome do host é usado para acessar o serviço ao corresponder ao URI.Gets or sets a value that indicates whether the hostname is used to reach the service when matching the URI. |
| Item[ConfigurationProperty] |
Obtém ou define uma propriedade ou um atributo desse elemento de configuração.Gets or sets a property or attribute of this configuration element. (Herdado de ConfigurationElement) |
| Item[String] |
Obtém ou define uma propriedade, atributo ou elemento filho desse elemento de configuração.Gets or sets a property, attribute, or child element of this configuration element. (Herdado de ConfigurationElement) |
| ListenBacklog |
Obtém ou define um valor que especifica o número máximo de canais que podem aguardar para serem aceitos no ouvinte.Gets or sets a value that specifies the maximum number of channels that can wait to be accepted on the listener. |
| LockAllAttributesExcept |
Obtém a coleção de atributos bloqueados.Gets the collection of locked attributes. (Herdado de ConfigurationElement) |
| LockAllElementsExcept |
Obtém a coleção de elementos bloqueados.Gets the collection of locked elements. (Herdado de ConfigurationElement) |
| LockAttributes |
Obtém a coleção de atributos bloqueados.Gets the collection of locked attributes. (Herdado de ConfigurationElement) |
| LockElements |
Obtém a coleção de elementos bloqueados.Gets the collection of locked elements. (Herdado de ConfigurationElement) |
| LockItem |
Obtém ou define um valor que indica se o elemento está bloqueado.Gets or sets a value indicating whether the element is locked. (Herdado de ConfigurationElement) |
| MaxBufferPoolSize |
Obtém ou define o tamanho máximo, em bytes, para um pool de buffers que armazena mensagens TCP processadas pela associação.Gets or sets the maximum size, in bytes, for a buffer pool that stores TCP messages processed by the binding. |
| MaxBufferSize |
Obtém ou define um valor que especifica o tamanho máximo, em bytes, do buffer usado para armazenar mensagens na memória.Gets or sets a value that specifies the maximum size, in bytes, of the buffer used to store messages in memory. |
| MaxConnections |
Obtém ou define um valor que especifica o número máximo de conexões de entrada e saída que o serviço cria e aceita, respectivamente.Gets or sets a value that specifies the maximum number of outbound and inbound connections the service creates and accepts respectively. |
| MaxReceivedMessageSize |
Obtém ou define o tamanho máximo, em bytes, de uma mensagem que pode ser recebida em um canal configurado com esta associação.Gets or sets the maximum size, in bytes, of a message that can be received on a channel configured with this binding. |
| Name |
Obtém ou define o nome da associação.Gets or sets the name of the binding. (Herdado de StandardBindingElement) |
| OpenTimeout |
Obtém ou define o intervalo de tempo fornecido para a conclusão de uma operação em aberto.Gets or sets the interval of time provided for an open operation to complete. (Herdado de StandardBindingElement) |
| PortSharingEnabled |
Obtém ou define um valor booliano que especifica se o compartilhamento de porta TCP está habilitado para esta conexão.Gets or sets a boolean value that specifies whether TCP port sharing is enabled for this connection. |
| Properties |
Obtém uma instância ConfigurationPropertyCollection que contém uma coleção de objetos ConfigurationProperty que podem ser atributos ou objetos ConfigurationElement deste elemento de configuração.Gets a ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element. |
| ReaderQuotas |
Obtém as restrições na complexidade das mensagens SOAP que podem ser processadas por pontos de extremidade configurados com essa associação.Gets the constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding. |
| ReceiveTimeout |
Obtém ou define o intervalo de tempo fornecido para a conclusão de uma operação de recebimento.Gets or sets the interval of time provided for a receive operation to complete. (Herdado de StandardBindingElement) |
| ReliableSession |
Obtém um elemento de configuração que especifica se as sessões confiáveis são estabelecidas entre pontos de extremidade do canal.Gets a configuration element that specifies whether reliable sessions are established between channel endpoints. |
| Security |
Obtém o tipo de segurança a ser usado com essa associação.Gets the type of security to be used with this binding. |
| SendTimeout |
Obtém ou define o intervalo de tempo fornecido para a conclusão de uma operação de envio.Gets or sets the interval of time provided for a send operation to complete. (Herdado de StandardBindingElement) |
| TransactionFlow |
Obtém ou define um valor booliano que especifica se a associação dá suporte ao fluxo de WS-Transactions.Gets or sets a Boolean value that specifies whether the binding supports flowing WS-Transactions. |
| TransactionProtocol |
Obtém ou define o protocolo de transação a ser usado com essa associação.Gets or sets the transaction protocol to be used with this binding. |
| TransferMode |
Obtém ou define um valor que especifica se as mensagens são armazenadas em buffer ou transmitidas em fluxo contínuo ou um solicitação ou resposta.Gets or sets a value that specifies whether messages are buffered or streamed or a request or response. |
Métodos
| ApplyConfiguration(Binding) |
Aplica o conteúdo da associação especificada a esse elemento de configuração de associação.Applies the content of the specified binding to this binding configuration element. (Herdado de StandardBindingElement) |
| DeserializeElement(XmlReader, Boolean) |
Lê o XML do arquivo de configuração.Reads XML from the configuration file. (Herdado de ConfigurationElement) |
| Equals(Object) |
Compara a instância ConfigurationElement atual com o objeto especificado.Compares the current ConfigurationElement instance to the specified object. (Herdado de ConfigurationElement) |
| GetHashCode() |
Obtém um valor exclusivo que representa a instância ConfigurationElement atual.Gets a unique value representing the current ConfigurationElement instance. (Herdado de ConfigurationElement) |
| GetTransformedAssemblyString(String) |
Retorna a versão transformada do nome do assembly especificado.Returns the transformed version of the specified assembly name. (Herdado de ConfigurationElement) |
| GetTransformedTypeString(String) |
Retorna a versão transformada do nome do tipo especificado.Returns the transformed version of the specified type name. (Herdado de ConfigurationElement) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| Init() |
Define o objeto ConfigurationElement para seu estado inicial.Sets the ConfigurationElement object to its initial state. (Herdado de ConfigurationElement) |
| InitializeDefault() |
Usado para inicializar um conjunto padrão de valores para o objeto ConfigurationElement.Used to initialize a default set of values for the ConfigurationElement object. (Herdado de ConfigurationElement) |
| InitializeFrom(Binding) |
Inicializa essa configuração de associação com o conteúdo da associação especificada.Initializes this binding configuration with the content of the specified binding. |
| IsModified() |
Indica se este elemento de configuração foi modificado desde a última vez em que foi salvo ou carregado quando implementado em uma classe derivada.Indicates whether this configuration element has been modified since it was last saved or loaded, when implemented in a derived class. (Herdado de ConfigurationElement) |
| IsReadOnly() |
Obtém um valor que indica se o objeto ConfigurationElement é somente leitura.Gets a value indicating whether the ConfigurationElement object is read-only. (Herdado de ConfigurationElement) |
| ListErrors(IList) |
Adiciona os erros de propriedade inválida deste objeto ConfigurationElement e de todos os subelementos à lista passada.Adds the invalid-property errors in this ConfigurationElement object, and in all subelements, to the passed list. (Herdado de ConfigurationElement) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| OnApplyConfiguration(Binding) |
Aplica a associação especificada a esta instância de NetNamedPipeBindingElement.Applies the specified binding to this NetNamedPipeBindingElement instance. |
| OnDeserializeUnrecognizedAttribute(String, String) |
Obtém um valor que indica se um atributo desconhecido é encontrado durante a desserialização.Gets a value indicating whether an unknown attribute is encountered during deserialization. (Herdado de ConfigurationElement) |
| OnDeserializeUnrecognizedElement(String, XmlReader) |
Obtém um valor que indica se um elemento desconhecido é encontrado durante a desserialização.Gets a value indicating whether an unknown element is encountered during deserialization. (Herdado de ConfigurationElement) |
| OnRequiredPropertyNotFound(String) |
Gera uma exceção quando uma propriedade necessária não é encontrada.Throws an exception when a required property is not found. (Herdado de ConfigurationElement) |
| PostDeserialize() |
Chamado depois da desserialização.Called after deserialization. (Herdado de ConfigurationElement) |
| PreSerialize(XmlWriter) |
Chamado antes da serialização.Called before serialization. (Herdado de ConfigurationElement) |
| Reset(ConfigurationElement) |
Redefine o estado interno deste objeto de elemento de configuração, incluindo os bloqueios e as coleções de propriedades.Resets the internal state of this configuration element object, including the locks and the properties collections. (Herdado de StandardBindingElement) |
| ResetModified() |
Redefine o valor do método IsModified() para |
| SerializeElement(XmlWriter, Boolean) |
Grava o conteúdo desse elemento de configuração no arquivo de configuração quando implementado em uma classe derivada.Writes the contents of this configuration element to the configuration file when implemented in a derived class. (Herdado de ConfigurationElement) |
| SerializeToXmlElement(XmlWriter, String) |
Grava as marcas externas desse elemento de configuração no arquivo de configuração quando implementado em uma classe derivada.Writes the outer tags of this configuration element to the configuration file when implemented in a derived class. (Herdado de ConfigurationElement) |
| SetPropertyValue(ConfigurationProperty, Object, Boolean) |
Define uma propriedade para o valor especificado.Sets a property to the specified value. (Herdado de ConfigurationElement) |
| SetPropertyValueIfNotDefaultValue<T>(String, T) |
Define o valor da propriedade para o elemento de configuração, caso não seja o valor padrão.Sets the property value for the configuration element if the value is not the default value. (Herdado de ServiceModelConfigurationElement) |
| SetReadOnly() |
Define a propriedade IsReadOnly() para o objeto ConfigurationElement e para todos os subelementos.Sets the IsReadOnly() property for the ConfigurationElement object and all subelements. (Herdado de ConfigurationElement) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |
| Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) |
Modifica o objeto ConfigurationElement para remover todos os valores que não devem ser salvos.Modifies the ConfigurationElement object to remove all values that should not be saved. (Herdado de ConfigurationElement) |