你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HttpRelayTransportBindingElement 类

定义

表示绑定元素,该元素用于指定用于在Azure 服务总线上传输消息的 HTTP 传输。

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
继承
HttpRelayTransportBindingElement
派生
实现

构造函数

HttpRelayTransportBindingElement()

初始化 HttpRelayTransportBindingElement 类的新实例。

HttpRelayTransportBindingElement(HttpRelayTransportBindingElement)

使用要克隆的 HttpRelayTransportBindingElement 指定元素初始化 类的新实例。

HttpRelayTransportBindingElement(RelayClientAuthenticationType)

使用指定的客户端身份验证类型初始化 类的新实例 HttpRelayTransportBindingElement

属性

AllowCookies

获取或设置一个值,该值指示客户端是否接受 Cookie 并根据今后的请求传播 Cookie。

HostNameComparisonMode

获取或设置主机名中的比较模式用法。

IsDynamic

获取或设置绑定元素是否为动态元素。

KeepAliveEnabled

获取或设置一个值,该值指示是否与服务终结点建立持久性连接。

MaxBufferSize

获取或设置要使用的缓冲区的最大大小。

ProxyAddress

获取或设置一个 URI,包含要用于 HTTP 请求的代理地址。

ProxyAuthenticationScheme

获取或设置用于对 HTTP 代理所处理的客户端请求进行身份验证的身份验证方案。

RelayClientAuthenticationType

获取或设置中继客户端身份验证类型。

Scheme

获取传输的 URI 方案。

TransferMode

获取或设置传输模式。

UseDefaultWebProxy

获取或设置一个值,该值指示是否使用计算机范围的代理设置,而不使用用户特定的设置。

方法

BuildChannelFactory<TChannel>(BindingContext)

创建可用于创建通道的通道工厂。

BuildChannelListener<TChannel>(BindingContext)

为指定泛型类型的通道创建通道侦听器。

CanBuildChannelFactory<TChannel>(BindingContext)

确定是否可生成指定类型的通道工厂。

CanBuildChannelListener<TChannel>(BindingContext)

返回一个值,该值指示绑定元素是否可以为特定类型的通道生成侦听器。

Clone()

返回绑定元素对象的副本。

CreateInnerChannelBindingElement()

HttpTransportBindingElement为内部通道创建 。

GetProperty<T>(BindingContext)

从指定的绑定上下文中获取指定的属性。

GetTransportTokenAssertion()

获取表示安全绑定中使用的传输令牌的 XML 元素。

InitializeInnerChannelBindingElement(HttpTransportBindingElement)

使用绑定元素的当前实例HttpRelayTransportBindingElement 中的设置初始化指定的绑定元素。

显式接口实现

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

导出有关此绑定的自定义策略断言。

IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

为协定将自定义 Web 服务描述语言 (WSDL) 元素写入到生成的 WSDL 中。

IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

为终结点将自定义 Web 服务描述语言 (WSDL) 元素写入到生成的 WSDL 中。

适用于