Bagikan melalui


Message.BeginWriteMessage(XmlDictionaryWriter, AsyncCallback, Object) Metode

Definisi

Memulai penulisan asinkron dari seluruh pesan.

public:
 IAsyncResult ^ BeginWriteMessage(System::Xml::XmlDictionaryWriter ^ writer, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginWriteMessage (System.Xml.XmlDictionaryWriter writer, AsyncCallback callback, object state);
member this.BeginWriteMessage : System.Xml.XmlDictionaryWriter * AsyncCallback * obj -> IAsyncResult
Public Function BeginWriteMessage (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