共用方式為


BodyWriter.OnBeginWriteBodyContents 方法

定義

本文寫入器開始以指定寫入器、回呼與狀態寫入本文內容時引發事件。

protected:
 virtual IAsyncResult ^ OnBeginWriteBodyContents(System::Xml::XmlDictionaryWriter ^ writer, AsyncCallback ^ callback, System::Object ^ state);
protected virtual IAsyncResult OnBeginWriteBodyContents (System.Xml.XmlDictionaryWriter writer, AsyncCallback callback, object state);
abstract member OnBeginWriteBodyContents : System.Xml.XmlDictionaryWriter * AsyncCallback * obj -> IAsyncResult
override this.OnBeginWriteBodyContents : System.Xml.XmlDictionaryWriter * AsyncCallback * obj -> IAsyncResult
Protected Overridable Function OnBeginWriteBodyContents (writer As XmlDictionaryWriter, callback As AsyncCallback, state As Object) As IAsyncResult

參數

writer
XmlDictionaryWriter

寫入器。

callback
AsyncCallback

回呼。

state
Object

狀態。

傳回

非同步結果。

適用於