語言

WSTrustRequestBodyWriter 類別

定義

代表一個訊息主體寫入者,將 RST 寫入外發訊息。

public ref class WSTrustRequestBodyWriter : System::ServiceModel::Channels::BodyWriter
public class WSTrustRequestBodyWriter : System.ServiceModel.Channels.BodyWriter
type WSTrustRequestBodyWriter = class
    inherit BodyWriter
Public Class WSTrustRequestBodyWriter
Inherits BodyWriter
繼承
WSTrustRequestBodyWriter

備註

這個WSTrustRequestBodyWriter類別是支援BodyWriter物件的類別的RequestSecurityToken實作。

建構函式

名稱 Description
WSTrustRequestBodyWriter(RequestSecurityToken, WSTrustRequestSerializer, WSTrustSerializationContext)

初始化 WSTrustRequestBodyWriter 類別的新執行個體。

屬性

名稱 Description
IsBuffered

會得到一個值,表示寫入方法是否可以多次呼叫。

(繼承來源 BodyWriter)

方法

名稱 Description
BeginWriteBodyContents(XmlDictionaryWriter, AsyncCallback, Object)

開始為正文撰寫者撰寫正文內容,並指定寫入、回調與狀態。

(繼承來源 BodyWriter)
CreateBufferedCopy(Int32)

建立一個緩衝的身體副本。

(繼承來源 BodyWriter)
EndWriteBodyContents(IAsyncResult)

結束書寫正文內容。

(繼承來源 BodyWriter)
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
OnBeginWriteBodyContents(XmlDictionaryWriter, AsyncCallback, Object)

當正體撰寫者開始撰寫指定的寫手、回調與狀態內容時,會觸發事件。

(繼承來源 BodyWriter)
OnCreateBufferedCopy(Int32)

當寫入主體內容時,提供一個可擴展點。

(繼承來源 BodyWriter)
OnEndWriteBodyContents(IAsyncResult)

當正文作者結束正文內容時,會引發事件。

(繼承來源 BodyWriter)
OnWriteBodyContents(XmlDictionaryWriter)

覆蓋基類方法。 將 RST 序列化到出線串流。

ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)
WriteBodyContents(XmlDictionaryWriter)

寫出訊息內容。

(繼承來源 BodyWriter)

適用於