Udostępnij za pośrednictwem


BasicHttpRelayBinding Class

Definition

Represents a binding that a client can use to configure endpoints that can communicate with ASMX-based Web services and other services that conform to the WS-I Basic Profile 1.1.

public class BasicHttpRelayBinding : System.ServiceModel.Channels.Binding, System.ServiceModel.Channels.IBindingRuntimePreferences
type BasicHttpRelayBinding = class
    inherit Binding
    interface IBindingRuntimePreferences
Public Class BasicHttpRelayBinding
Inherits Binding
Implements IBindingRuntimePreferences
Inheritance
BasicHttpRelayBinding
Implements

Constructors

BasicHttpRelayBinding()

Initializes a new instance of the BasicHttpRelayBinding class.

BasicHttpRelayBinding(EndToEndBasicHttpSecurityMode, RelayClientAuthenticationType)

Initializes a new instance of the BasicHttpRelayBinding class with a specified type of security used by the binding and the authentication type used by the client.

BasicHttpRelayBinding(String)

Initializes a new instance of the BasicHttpRelayBinding class using the specified configuration.

Properties

AllowCookies

Gets or sets a value that determines if the client allows cookies.

EnvelopeVersion

Gets the version of SOAP that is used for messages that are processed by this binding.

HostNameComparisonMode

Gets or sets how the host name should be compared.

IsDynamic

Gets or sets whether the binding element is dynamic.

MaxBufferPoolSize

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

MaxBufferSize

Gets or sets the maximum size for a buffer that receives messages from the channel.

MaxReceivedMessageSize

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

MessageEncoding

Gets or sets the type of message encoding.

ProxyAddress

Gets or sets the proxy address.

ReaderQuotas

Gets or sets the reader quotas.

Scheme

Gets the URI transport scheme for the channels and listeners that are configured with this binding.

Security

Gets the collection of security bindings used with this binding.

TextEncoding

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

TransferMode

Gets or sets the transfer mode.

UseDefaultWebProxy

Gets or sets a value that determines if the client uses the default web proxy.

Methods

CreateBindingElements()

Returns an ordered collection of binding elements contained in the current binding.

Explicit Interface Implementations

IBindingRuntimePreferences.ReceiveSynchronously

Indicates that incoming requests are handled asynchronously.

Applies to