SALES: 1-800-867-1380

HttpRelayTransportBindingElement Class

Represents the binding element used to specify an HTTP transport for transmitting messages on the Windows Azure Service Bus.

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

public class HttpRelayTransportBindingElement : TransportBindingElement, 
	IPolicyExportExtension, IWsdlExportExtension, ITransportTokenAssertionProvider

The HttpRelayTransportBindingElement type exposes the following members.

  NameDescription
Public methodHttpRelayTransportBindingElement()Initializes a new instance of the HttpRelayTransportBindingElement class.
Protected methodHttpRelayTransportBindingElement(HttpRelayTransportBindingElement)Initializes a new instance of the HttpRelayTransportBindingElement class, using the specified element to be cloned.
Public methodHttpRelayTransportBindingElement(RelayClientAuthenticationType)Initializes a new instance of the HttpRelayTransportBindingElement class using the specified client authentication type.
Top

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

  NameDescription
Public methodBuildChannelFactory<TChannel>Creates a channel factory that can be used to create a channel. (Overrides BindingElement.BuildChannelFactory<TChannel>(BindingContext).)
Public methodBuildChannelListener<TChannel>Creates a channel listener for channels of the specified generic type. (Overrides BindingElement.BuildChannelListener<TChannel>(BindingContext).)
Public methodCanBuildChannelFactory<TChannel>Determines whether a channel factory of the specified type can be built. (Overrides BindingElement.CanBuildChannelFactory<TChannel>(BindingContext).)
Public methodCanBuildChannelListener<TChannel>Returns a value that indicates whether the binding element can build a listener for a specific type of channel. (Overrides BindingElement.CanBuildChannelListener<TChannel>(BindingContext).)
Public methodCloneReturns a copy of the binding element object. (Overrides BindingElement.Clone().)
Protected methodCreateInnerChannelBindingElementCreates a HttpTransportBindingElement for the inner channel.
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 TransportBindingElement.GetProperty<T>(BindingContext).)
Public methodGetTransportTokenAssertionGets the XML element that represents the transport token used in the security binding.
Public methodGetType (Inherited from Object.)
Protected methodInitializeInnerChannelBindingElementInitializes the specified binding element with the settings from the current instance of the HttpRelayTransportBindingElement binding element.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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

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

The HttpRelayTransportBindingElement is closely aligned with the WCF HttpTransportBindingElement and is the foundation for all HTTP Relay bindings that are configured to use unsecured HTTP communication.

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

ADD
Show:
© 2014 Microsoft