Bagikan melalui


HttpRelayTransportBindingElement Class

Definition

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

public class HttpRelayTransportBindingElement : System.ServiceModel.Channels.TransportBindingElement, System.ServiceModel.Channels.ITransportTokenAssertionProvider, System.ServiceModel.Description.IPolicyExportExtension, System.ServiceModel.Description.IWsdlExportExtension
type HttpRelayTransportBindingElement = class
    inherit TransportBindingElement
    interface IPolicyExportExtension
    interface IWsdlExportExtension
    interface ITransportTokenAssertionProvider
Public Class HttpRelayTransportBindingElement
Inherits TransportBindingElement
Implements IPolicyExportExtension, ITransportTokenAssertionProvider, IWsdlExportExtension
Inheritance
HttpRelayTransportBindingElement
Derived
Implements

Constructors

HttpRelayTransportBindingElement()

Initializes a new instance of the HttpRelayTransportBindingElement class.

HttpRelayTransportBindingElement(HttpRelayTransportBindingElement)

Initializes a new instance of the HttpRelayTransportBindingElement class, using the specified element to be cloned.

HttpRelayTransportBindingElement(RelayClientAuthenticationType)

Initializes a new instance of the HttpRelayTransportBindingElement class using the specified client authentication type.

Properties

AllowCookies

Gets or sets a value that indicates whether the client accepts cookies and propagates them on future requests.

HostNameComparisonMode

Gets or sets the comparison mode use in the host name.

IsDynamic

Gets or sets whether the binding element is dynamic.

KeepAliveEnabled

Gets or sets a value that indicates whether to make a persistent connection to a service endpoint.

MaxBufferSize

Gets or sets the maximum size of the buffer to use.

ProxyAddress

Gets or sets a URI that contains the address of the proxy to use for HTTP requests.

ProxyAuthenticationScheme

Gets or sets the authentication scheme used to authenticate client requests being processed by an HTTP proxy.

RelayClientAuthenticationType

Gets or sets the relay client authentication type.

Scheme

Gets the URI scheme for the transport.

TransferMode

Gets or sets the transfer mode.

UseDefaultWebProxy

Gets or sets a value that indicates whether the machine-wide proxy settings are used rather than the user specific settings.

Methods

BuildChannelFactory<TChannel>(BindingContext)

Creates a channel factory that can be used to create a channel.

BuildChannelListener<TChannel>(BindingContext)

Creates a channel listener for channels of the specified generic type.

CanBuildChannelFactory<TChannel>(BindingContext)

Determines whether a channel factory of the specified type can be built.

CanBuildChannelListener<TChannel>(BindingContext)

Returns a value that indicates whether the binding element can build a listener for a specific type of channel.

Clone()

Returns a copy of the binding element object.

CreateInnerChannelBindingElement()

Creates a HttpTransportBindingElement for the inner channel.

GetProperty<T>(BindingContext)

Gets the specified property from the specified binding context.

GetTransportTokenAssertion()

Gets the XML element that represents the transport token used in the security binding.

InitializeInnerChannelBindingElement(HttpTransportBindingElement)

Initializes the specified binding element with the settings from the current instance of theHttpRelayTransportBindingElement binding element.

Explicit Interface Implementations

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

Exports a custom policy assertion about this binding.

IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.

IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.

Applies to