共用方式為


BasicHttpRelayBindingElement Class

Definition

Represents a configuration element that specifies a binding used to communicate with WS-I Basic Profile 1.1-conformant Web Services like ASMX-based services or to accept messages from ASMX-based clients through the Azure Service Bus.

public class BasicHttpRelayBindingElement : System.ServiceModel.Configuration.StandardBindingElement
type BasicHttpRelayBindingElement = class
    inherit StandardBindingElement
Public Class BasicHttpRelayBindingElement
Inherits StandardBindingElement
Inheritance
BasicHttpRelayBindingElement

Constructors

BasicHttpRelayBindingElement()

Initializes a new instance of the BasicHttpRelayBindingElement class.

BasicHttpRelayBindingElement(String)

Initializes a new instance of the BasicHttpRelayBindingElement class using the specified name.

Properties

AllowCookies

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

BindingElementType

Gets the type of this binding element.

IsDynamic

Gets or sets whether the binding element is dynamic.

MaxBufferPoolSize

Gets or sets the maximum size for a buffer pool that stores messages processed by the binding.

MaxBufferSize

Gets or sets the maximum size of a buffer that stores messages while they are processed for an endpoint configured with this binding.

MaxReceivedMessageSize

Gets or sets the maximum message size, in bytes, including headers, for a message that can be received on a channel configured with this binding.

MessageEncoding

Gets or sets the messaging encoding that indicates whether MTOM or text/XML is used to encode the SOAP message.

Properties

Gets a collection of objects that can be attributes or configuration element objects of this binding configuration element.

ProxyAddress

Gets or sets the URI that describes the address of the HTTP proxy.

ReaderQuotas

Gets or sets an XML value that places constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding.

Security

Gets the type of security to be used for the binding.

TextEncoding

Gets or sets the character set encoding to be used for emitting messages on the binding.

TransferMode

Gets or sets whether messages are buffered or streamed on a request or response.

UseDefaultWebProxy

Gets or sets a value that indicates whether the auto-configured HTTP proxy of the system should be used, if available.

Methods

InitializeFrom(Binding)

Initializes this binding configuration element with the content of the specified binding collection.

OnApplyConfiguration(Binding)

Applies the settings of this configuration element to the specified binding.

Applies to