您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

Web​Http​Relay​Binding Class

定义

A binding used to configure endpoints for Web services that are exposed through HTTP requests instead of SOAP messages.

public class WebHttpRelayBinding : System.ServiceModel.Channels.Binding, System.ServiceModel.Channels.IBindingRuntimePreferences
继承
System.ServiceModel.Channels.Binding
WebHttpRelayBinding
实现
System.ServiceModel.Channels.IBindingRuntimePreferences

构造函数

Web​Http​Relay​Binding()

Initializes a new instance of the WebHttpRelayBinding class.

Web​Http​Relay​Binding(​String)

Initializes a new instance of the WebHttpRelayBinding class using the specified configuration name.

Web​Http​Relay​Binding(​End​To​End​Web​Http​Security​Mode, ​Relay​Client​Authentication​Type)

Initializes a new instance of the WebHttpRelayBinding class using the specified type of security and relay client authentication.

属性

Allow​Cookies

Gets or sets a value that specifies whether cookies are allowed in the messages sent via the WebHttpRelayBinding.

Content​Type​Mapper

Gets or sets the content type mapper.

Envelope​Version

Gets the SOAP envelope version.

Host​Name​Comparison​Mode

Gets or sets the comparison mode used on the host name.

Is​Dynamic

Gets or sets whether the relay binding is dynamic.

Max​Buffer​Pool​Size

Gets or sets the maximum buffer pool size used by the transport.

Max​Buffer​Size

Gets or sets the maximum buffer size supported by the transport.

Max​Received​Message​Size

Gets or sets the maximum allowable message size that can be received.

Proxy​Address

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

Reader​Quotas

Gets or sets xml reader quotas on the messages processed.

Scheme

Gets the scheme for the endpoints used with the binding.

Security

Gets the security settings for the current instance.

Transfer​Mode

Gets or sets the transfer mode.

Use​Default​Web​Proxy

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

Write​Encoding

Gets or sets the character encoding that is used to write the message text.

方法

Create​Binding​Elements()

Creates a collection with the binding elements for the binding.

显式界面实现

I​Binding​Runtime​Preferences.​Receive​Synchronously