共用方式為


HttpRelayTransportElement Class

Definition

Represents a configuration element that specifies an HTTP transport for transmitting SOAP messages.

public class HttpRelayTransportElement : System.ServiceModel.Configuration.TransportElement
type HttpRelayTransportElement = class
    inherit TransportElement
Public Class HttpRelayTransportElement
Inherits TransportElement
Inheritance
HttpRelayTransportElement
Derived

Constructors

HttpRelayTransportElement()

Initializes a new instance of the HttpRelayTransportElement class.

Properties

AllowCookies

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

BindingElementType

Gets the type of binding. (Overrides BindingElementExtensionElement.BindingElementType.)

IsDynamic

Gets or sets whether the relay binding is dynamic.

KeepAliveEnabled

Gets or sets a Boolean value from the configuration file that indicates whether to make a persistent connection to the internet resource.

MaxBufferSize

Gets or sets the maximum size of the buffer pool from the configuration file.

Properties

Gets a ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element. (Overrides TransportElement.Properties.)

ProxyAddress

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

ProxyAuthenticationScheme

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

RelayClientAuthenticationType

Gets or sets the relay client authentication type stored in the configuration file.

TransferMode

Gets or sets a value from the configuration file that specifies whether messages are buffered or streamed on a request or response.

UseDefaultWebProxy

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

Methods

ApplyConfiguration(BindingElement)

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

CopyFrom(ServiceModelExtensionElement)

Copies the properties of the specified extension element to this configuration element.

CreateDefaultBindingElement()

Creates a binding element from the settings in this configuration element.

InitializeFrom(BindingElement)

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

Applies to