Bagikan melalui


Message.OnBeginWriteBodyContents Metode

Definisi

Memunculkan peristiwa saat pesan mulai menulis konten isi pesan.

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

Parameter

writer
XmlDictionaryWriter

Penulis digunakan untuk membuat serial konten isi pesan.

callback
AsyncCallback

Metode delegasi yang menerima pemberitahuan ketika operasi selesai.

state
Object

Objek yang ditentukan pengguna yang mewakili status operasi.

Mengembalikan

Objek IAsyncResult yang mewakili hasil operasi asinkron.

Berlaku untuk