Share via


Message.OnBeginWriteMessage Metodo

Definizione

Genera un evento che avvia la scrittura di interi messaggi.

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

Parametri

writer
XmlDictionaryWriter

Writer utilizzato per serializzare l'intero messaggio.

callback
AsyncCallback

Metodo delegato che riceve la notifica del completamento dell'operazione.

state
Object

Oggetto definito dall'utente che rappresenta lo stato dell'operazione.

Restituisce

IAsyncResult che rappresenta il risultato dell'operazione asincrona.

Si applica a