ByteStreamMessageEncodingBindingElement 類別

定義

此繫結項目會將訊息編碼指定為位元組資料流,且有指定字元編碼的選項。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
繼承
ByteStreamMessageEncodingBindingElement

建構函式

ByteStreamMessageEncodingBindingElement()

初始化 ByteStreamMessageEncodingBindingElement 類別的新執行個體。Initializes a new instance of the ByteStreamMessageEncodingBindingElement class.

ByteStreamMessageEncodingBindingElement(XmlDictionaryReaderQuotas)

使用指定的配額,初始化 ByteStreamMessageEncodingBindingElement 類別的新執行個體。Initializes a new instance of the ByteStreamMessageEncodingBindingElement class with the specified quota.

屬性

MessageVersion

取得或設定已使用或需要使用的 SOAP 訊息和 WS-Addressing 版本。Gets or sets the SOAP message and WS-Addressing versions that are used or expected.

ReaderQuotas

取得或設定 XML 訊息複雜度的條件約束,而這些條件約束可由以此繫結項目所設定的端點處理。Gets or sets constraints on the complexity of XML messages that can be processed by endpoints configured with this binding element.

方法

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()

新建一個從目前 ByteStreamMessageEncodingBindingElement 物件初始化的這類物件。Creates a new ByteStreamMessageEncodingBindingElement object initialized from the current one.

CreateMessageEncoderFactory()

建立位元組資料流訊息編碼器處理站,這個處理站會採用目前編碼繫結項目所指定的 SOAP 和 WS-Addressing 版本與字元編碼。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.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetProperty<T>(BindingContext)

從通道堆疊的適當層次中,傳回要求的型別物件 (如果有的話)。Returns the typed object requested, if present, from the appropriate layer in the channel stack.

(繼承來源 MessageEncodingBindingElement)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ShouldSerializeMessageVersion()

傳回值,這個值表示 MessageVersion 屬性是否已變更為非預設值且應該序列化。Returns a value that indicates whether the MessageVersion property has changed from its default value and should be serialized.

ShouldSerializeReaderQuotas()

傳回值,這個值表示 ReaderQuotas 屬性是否已變更為非預設值且應該序列化。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.

(繼承來源 Object)

適用於