แก้ไข

แชร์ผ่าน


ByteStreamMessageEncodingBindingElement Class

Definition

The binding element that specifies the message encoding as a stream of bytes and has the option to specify the character encoding.

public ref class ByteStreamMessageEncodingBindingElement sealed : System::ServiceModel::Channels::MessageEncodingBindingElement
public sealed class ByteStreamMessageEncodingBindingElement : System.ServiceModel.Channels.MessageEncodingBindingElement
type ByteStreamMessageEncodingBindingElement = class
    inherit MessageEncodingBindingElement
Public NotInheritable Class ByteStreamMessageEncodingBindingElement
Inherits MessageEncodingBindingElement
Inheritance
ByteStreamMessageEncodingBindingElement

Constructors

ByteStreamMessageEncodingBindingElement()

Initializes a new instance of the ByteStreamMessageEncodingBindingElement class.

ByteStreamMessageEncodingBindingElement(XmlDictionaryReaderQuotas)

Initializes a new instance of the ByteStreamMessageEncodingBindingElement class with the specified quota.

Properties

MessageVersion

Gets or sets the SOAP message and WS-Addressing versions that are used or expected.

ReaderQuotas

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

Methods

BuildChannelFactory<TChannel>(BindingContext)

Builds the channel factory stack on the client that creates a specified type of channel for a specified context.

BuildChannelListener<TChannel>(BindingContext)

Builds the channel listener on the service that accepts a specified type of channel for a specified context.

CanBuildChannelFactory<TChannel>(BindingContext)

Returns a value that indicates whether the current binding can build a factory for a specified type of channel and context.

CanBuildChannelListener<TChannel>(BindingContext)

Returns a value that indicates whether the current binding can build a listener for a specified type of channel and context.

Clone()

Creates a new ByteStreamMessageEncodingBindingElement object initialized from the current one.

CreateMessageEncoderFactory()

Creates a factory for byte stream message encoders that employ the SOAP and WS-Addressing versions and the character encoding specified by the current encoding binding element.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProperty<T>(BindingContext)

Returns the typed object requested, if present, from the appropriate layer in the channel stack.

(Inherited from MessageEncodingBindingElement)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeMessageVersion()

Returns a value that indicates whether the MessageVersion property has changed from its default value and should be serialized.

ShouldSerializeReaderQuotas()

Returns a value that indicates whether the ReaderQuotas property has changed from its default value and should be serialized.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to