SALES: 1-800-867-1380

HttpsRelayTransportBindingElement Class

Represents the binding element used to specify an HTTPS relay transport for transmitting messages.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public class HttpsRelayTransportBindingElement : HttpRelayTransportBindingElement

The HttpsRelayTransportBindingElement type exposes the following members.

Public methodHttpsRelayTransportBindingElement()Initializes a new instance of the HttpsRelayTransportBindingElement class, using the default settings.
Protected methodHttpsRelayTransportBindingElement(HttpsRelayTransportBindingElement)Initializes a new instance of the HttpsRelayTransportBindingElement class, using the specified element.
Public methodHttpsRelayTransportBindingElement(RelayClientAuthenticationType)Initializes a new instance of the HttpsRelayTransportBindingElement class, using the specified type of client authentication.

Public propertyAllowCookiesGets or sets a value that indicates whether the client accepts cookies and propagates them on future requests. (Inherited from HttpRelayTransportBindingElement.)
Public propertyHostNameComparisonModeGets or sets the comparison mode use in the host name. (Inherited from HttpRelayTransportBindingElement.)
Public propertyIsDynamicGets or sets whether the binding element is dynamic. (Inherited from HttpRelayTransportBindingElement.)
Public propertyKeepAliveEnabledGets or sets a value that indicates whether to make a persistent connection to a service endpoint. (Inherited from HttpRelayTransportBindingElement.)
Public propertyManualAddressing (Inherited from TransportBindingElement.)
Public propertyMaxBufferPoolSize (Inherited from TransportBindingElement.)
Public propertyMaxBufferSizeGets or sets the maximum size of the buffer to use. (Inherited from HttpRelayTransportBindingElement.)
Public propertyMaxReceivedMessageSize (Inherited from TransportBindingElement.)
Public propertyProxyAddressGets or sets a URI that contains the address of the proxy to use for HTTP requests. (Inherited from HttpRelayTransportBindingElement.)
Public propertyProxyAuthenticationSchemeGets or sets the authentication scheme used to authenticate client requests being processed by an HTTP proxy. (Inherited from HttpRelayTransportBindingElement.)
Public propertyRelayClientAuthenticationTypeGets or sets the relay client authentication type. (Inherited from HttpRelayTransportBindingElement.)
Public propertySchemeGets the URI scheme for the transport. (Overrides HttpRelayTransportBindingElement.Scheme.)
Public propertyTransferModeGets or sets the transfer mode. (Inherited from HttpRelayTransportBindingElement.)
Public propertyUseDefaultWebProxyGets or sets a value that indicates whether the machine-wide proxy settings are used rather than the user specific settings. (Inherited from HttpRelayTransportBindingElement.)

Public methodBuildChannelFactory<TChannel>Creates a channel factory that can be used to create a channel. (Inherited from HttpRelayTransportBindingElement.)
Public methodBuildChannelListener<TChannel>Creates a channel listener for channels of the specified generic type. (Inherited from HttpRelayTransportBindingElement.)
Public methodCanBuildChannelFactory<TChannel>Determines whether a channel factory of the specified type can be built. (Inherited from HttpRelayTransportBindingElement.)
Public methodCanBuildChannelListener<TChannel>Returns a value that indicates whether the binding element can build a listener for a specific type of channel. (Inherited from HttpRelayTransportBindingElement.)
Public methodCloneCreates a deep copy of the current binding element. (Overrides HttpRelayTransportBindingElement.Clone().)
Protected methodCreateInnerChannelBindingElementCreates a HttpTransportBindingElement binding element for the inner channel. (Overrides HttpRelayTransportBindingElement.CreateInnerChannelBindingElement().)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetProperty<T>Gets the specified property from the specified binding context. (Overrides HttpRelayTransportBindingElement.GetProperty<T>(BindingContext).)
Public methodGetTransportTokenAssertionGets the XML element that represents the transport token used in the security binding. (Inherited from HttpRelayTransportBindingElement.)
Public methodGetType (Inherited from Object.)
Protected methodInitializeInnerChannelBindingElementInitializes the specified binding element with the settings from the current instance of the HttpsRelayTransportBindingElement binding element. (Overrides HttpRelayTransportBindingElement.InitializeInnerChannelBindingElement(HttpTransportBindingElement).)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Explicit interface implemetationPrivate methodIWsdlExportExtension.ExportContractWrites custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract. (Inherited from HttpRelayTransportBindingElement.)
Explicit interface implemetationPrivate methodIWsdlExportExtension.ExportEndpointWrites custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint. (Inherited from HttpRelayTransportBindingElement.)
Explicit interface implemetationPrivate methodIPolicyExportExtension.ExportPolicyExports a custom policy assertion about bindings. (Inherited from HttpRelayTransportBindingElement.)

Windows Azure Service Bus supports only Full Trust code access security.

Unlike most types with the word “element” in their name in the Windows Azure Service Bus namespace, HttpsRelayTransportBindingElement does not represent an XML element in the App.config file. Nor is it used by to translate information from the App.config file and into a binding. Rather, HttpsRelayTransportBindingElement is the starting point for creating a custom Windows Azure Service Bus binding that implements the HTTPS transport protocol. HTTPS is the primary transport used for secure interoperability purposes. HTTPS is supported by Windows Azure to ensure interoperability with other Web services stacks. Thus, in this context, the word “element” refers to the idea that HttpsRelayTransportBindingElement is one of the elements that makes up a binding, rather than an XML configuration element. For more information on creating your own custom binding, see Creating a Custom AppFabric Service Bus Binding.

The HttpsRelayTransportBindingElement derives from the HttpRelayTransportBindingElement and is the foundation for all HTTP Relay bindings that are configured to use secured HTTPS communication.

You can also set properties on the base class, HttpRelayTransportBindingElement, such as MaxBufferSize().

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft