Bagikan melalui


Message.OnBeginWriteMessage Metode

Definisi

Memunculkan peristiwa saat penulisan seluruh pesan dimulai.

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

Parameter

writer
XmlDictionaryWriter

Penulis digunakan untuk menserialisasikan seluruh pesan.

callback
AsyncCallback

Metode delegasi yang menerima pemberitahuan saat operasi selesai.

state
Object

Objek yang ditentukan pengguna yang mewakili status operasi.

Mengembalikan

Objek IAsyncResult yang mewakili hasil operasi asinkron.

Berlaku untuk