HttpsTransportBindingElement Classe
Definição
Representa o elemento de associação usado para especificar um transporte HTTPS para transmissão de mensagens.Represents the binding element used to specify an HTTPS transport for transmitting messages.
public ref class HttpsTransportBindingElement : System::ServiceModel::Channels::HttpTransportBindingElement
public ref class HttpsTransportBindingElement : System::ServiceModel::Channels::HttpTransportBindingElement, System::ServiceModel::Channels::ITransportTokenAssertionProvider
public class HttpsTransportBindingElement : System.ServiceModel.Channels.HttpTransportBindingElement
public class HttpsTransportBindingElement : System.ServiceModel.Channels.HttpTransportBindingElement, System.ServiceModel.Channels.ITransportTokenAssertionProvider
type HttpsTransportBindingElement = class
inherit HttpTransportBindingElement
type HttpsTransportBindingElement = class
inherit HttpTransportBindingElement
interface ITransportTokenAssertionProvider
type HttpsTransportBindingElement = class
inherit HttpTransportBindingElement
interface ITransportTokenAssertionProvider
interface IPolicyExportExtension
interface IWsdlExportExtension
Public Class HttpsTransportBindingElement
Inherits HttpTransportBindingElement
Public Class HttpsTransportBindingElement
Inherits HttpTransportBindingElement
Implements ITransportTokenAssertionProvider
- Herança
-
HttpsTransportBindingElement
- Implementações
Comentários
A HttpsTransportBindingElement classe é o ponto de partida para criar uma associação personalizada que implementa o protocolo de transporte HTTPS.The HttpsTransportBindingElement class is the starting point for creating a custom binding that implements the HTTPS transport protocol. HTTPS é o transporte primário usado para fins de interoperabilidade segura.HTTPS is the primary transport used for secure interoperability purposes. O Windows Communication Foundation (WCF) dá suporte ao HTTPS para garantir a interoperabilidade com outras pilhas de serviços da Web.HTTPS is supported by the Windows Communication Foundation (WCF) to ensure interoperability with other Web services stacks.
O modelo de serviço do WCF usa essa classe para criar objetos de fábrica que implementam as IChannelFactory IChannelListener interfaces e.The WCF service model uses this class to create factory objects that implement the IChannelFactory and IChannelListener interfaces. Esses objetos de fábrica, por sua vez, criam os canais e ouvintes que transmitem mensagens SOAP usando o protocolo HTTPS.These factory objects, in turn, create the channels and listeners that transmit SOAP messages using the HTTPS protocol.
Você controla a configuração das fábricas que essa classe cria definindo suas propriedades, como: RequireClientCertificate .You control the configuration of the factories that this class creates by setting its properties, such as: RequireClientCertificate.
Você também pode definir propriedades na classe base, HttpTransportBindingElement , como: AuthenticationScheme , HostNameComparisonMode e MaxBufferSize .You can also set properties on the base class, HttpTransportBindingElement, such as: AuthenticationScheme, HostNameComparisonMode, and MaxBufferSize.
Você também pode definir propriedades na classe base TransportBindingElement , como: ManualAddressing e MaxBufferPoolSize .You can also set properties on the base class TransportBindingElement, such as: ManualAddressing, and MaxBufferPoolSize. Para obter uma lista completa das propriedades, consulte TransportBindingElement .For a complete list of properties, see TransportBindingElement.
Construtores
| HttpsTransportBindingElement() |
Inicializa uma nova instância da classe HttpsTransportBindingElement.Initializes a new instance of the HttpsTransportBindingElement class. |
| HttpsTransportBindingElement(HttpsTransportBindingElement) |
Inicializa uma nova instância da classe HttpsTransportBindingElement.Initializes a new instance of the HttpsTransportBindingElement class. |
Propriedades
| AllowCookies |
Obtém ou define um valor que indica se o cliente aceita cookies e propaga-os em solicitações futuras.Gets or sets a value that indicates whether the client accepts cookies and propagates them on future requests. (Herdado de HttpTransportBindingElement) |
| AuthenticationScheme |
Obtém ou define o esquema de autenticação usado para autenticar solicitações de cliente sendo processadas por um ouvinte HTTP.Gets or sets the authentication scheme used to authenticate client requests being processed by an HTTP listener. (Herdado de HttpTransportBindingElement) |
| BypassProxyOnLocal |
Obtém ou define um valor que indica se os proxies são ignorados para endereços locais.Gets or sets a value that indicates whether proxies are ignored for local addresses. (Herdado de HttpTransportBindingElement) |
| DecompressionEnabled |
Obtém ou define se o processo para retornar dados de mensagem compactados para o tamanho e o formato originais está habilitado.Gets or sets whether the process for returning compressed message data to its original size and format is enabled. (Herdado de HttpTransportBindingElement) |
| ExtendedProtectionPolicy |
Obtém ou define o valor da política de segurança estendida usada pelo servidor para validar as conexões de cliente recebidas.Gets or sets the value of the extended security policy used by the server to validate incoming client connections. (Herdado de HttpTransportBindingElement) |
| 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. (Herdado de HttpTransportBindingElement) |
| KeepAliveEnabled |
Obtém ou define um valor que indica se será feita uma conexão persistente com um ponto de extremidade de serviço.Gets or sets a value that indicates whether to make a persistent connection to a service endpoint. (Herdado de HttpTransportBindingElement) |
| LegacyExtendedProtectionPolicy |
Obsoleto.
(Herdado de HttpTransportBindingElement)
|
| 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 em buffer, esse valor é o mesmo que MaxReceivedMessageSize.For buffered messages this value is the same as MaxReceivedMessageSize. Para mensagens transmitidas, esse valor é o tamanho máximo dos cabeçalhos SOAP, que devem ser lidos no modo de buffer.For streamed messages, this value is the maximum size of the SOAP headers, which must be read in buffered mode. (Herdado de HttpTransportBindingElement) |
| MaxPendingAccepts |
Obtém ou define o número máximo de conexões que o serviço pode aceitar simultaneamente.Gets or sets the maximum number of connections the service can accept simultaneously. (Herdado de HttpTransportBindingElement) |
| 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) |
| MessageHandlerFactory |
Obtém ou define a fábrica de manipulador de mensagens de transporte HTTP.Gets or sets the Http transport message handler factory. (Herdado de HttpTransportBindingElement) |
| ProxyAddress |
Obtém ou define um URI que contém o endereço do proxy a ser usado para solicitações HTTP.Gets or sets a URI that contains the address of the proxy to use for HTTP requests. (Herdado de HttpTransportBindingElement) |
| ProxyAuthenticationScheme |
Obtém ou define o esquema de autenticação usado para autenticar solicitações de cliente processadas por um proxy HTTP.Gets or sets the authentication scheme used to authenticate client requests being processed by an HTTP proxy. (Herdado de HttpTransportBindingElement) |
| Realm |
Obtém ou define o realm de autenticação.Gets or sets the authentication realm. (Herdado de HttpTransportBindingElement) |
| RequestInitializationTimeout |
Obtém ou define o tempo limite da inicialização solicitada.Gets or sets the requested initialization time out. (Herdado de HttpTransportBindingElement) |
| RequireClientCertificate |
Obtém ou define um valor que indica se a autenticação de cliente SSL é necessária.Gets or sets a value that indicates whether SSL client authentication is required. |
| Scheme |
Retorna o esquema do URI para o transporte.Returns the URI scheme for the transport. |
| TransferMode |
Obtém ou define o modo de transferência.Gets or sets the transfer mode. (Herdado de HttpTransportBindingElement) |
| UnsafeConnectionNtlmAuthentication |
Obtém ou define um valor que indica se o Compartilhamento de Conexão Não Segura está habilitado no servidor.Gets or sets a value that indicates whether Unsafe Connection Sharing is enabled on the server. Se estiver habilitado, a autenticação NTLM será executada uma vez em cada conexão TCP.If enabled, NTLM authentication is performed once on each TCP connection. (Herdado de HttpTransportBindingElement) |
| UseDefaultWebProxy |
Obtém ou define um valor que indica se as configurações de proxy para todo o computador são usadas em vez de configurações específicas do usuário.Gets or sets a value that indicates whether the machine-wide proxy settings are used rather than the user specific settings. (Herdado de HttpTransportBindingElement) |
| WebSocketSettings |
Obtém ou define a configuração de soquete da Web do elemento de associação.Gets or sets the web socket configuration of the binding element. (Herdado de HttpTransportBindingElement) |
Métodos
| BuildChannelFactory<TChannel>(BindingContext) |
Cria uma fábrica de canais de um tipo especificado que pode ser usada para criar um canal.Creates a channel factory of a specified type that can be used to create a channel. |
| BuildChannelListener<TChannel>(BindingContext) |
Cria um ouvinte de canais de um tipo especificado que pode ser usado para criar um canal.Creates a channel listener of a specified type that can be used to create a channel. |
| BuildChannelListener<TChannel>(BindingContext) |
Cria um ouvinte de canais do tipo especificado.Creates a channel listener of the specified type. (Herdado de HttpTransportBindingElement) |
| 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. (Herdado de HttpTransportBindingElement) |
| 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. (Herdado de HttpTransportBindingElement) |
| Clone() |
Cria uma cópia do elemento de associação atual.Creates a copy of the current binding element. |
| 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 um objeto especificado por meio do BindingContext.Gets a specified object from the BindingContext. |
| GetTransportTokenAssertion() |
Obtém o XmlElement que representa o token de transporte usado na associação de segurança.Gets the XmlElement that represents the transport token used in the security binding. |
| 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) |
| ShouldSerializeExtendedProtectionPolicy() |
Retorna uma valor que indica que não é possível serializar com XAML a política de proteção estendida.Returns a valueindicating that it is not possible to XAML serialize the extended protection policy. (Herdado de HttpTransportBindingElement) |
| ShouldSerializeMessageHandlerFactory() |
Determina se a fábrica de manipulador de mensagens deve ser serializada.Determines whether the message handler factory should be serialized. (Herdado de HttpTransportBindingElement) |
| ShouldSerializeWebSocketSettings() |
Determina se as configurações de soquete da Web devem ser serializadas.Determines whether the web socket settings should be serialized. (Herdado de HttpTransportBindingElement) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |
| UpdateAuthenticationSchemes(BindingContext) |
Atualiza os esquemas de autenticação de transporte que contêm o contexto de associação.Updates the transport authentication schemes that contains the binding context. (Herdado de HttpTransportBindingElement) |
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. (Herdado de HttpTransportBindingElement) |
| 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. (Herdado de HttpTransportBindingElement) |
| 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. (Herdado de HttpTransportBindingElement) |