Bewerken

Delen via


Message.OnBeginWriteMessage Method

Definition

Raises an event the writing of entire messages starts.

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

Parameters

writer
XmlDictionaryWriter

The writer used to serialize the entire message.

callback
AsyncCallback

The delegate method that receives the notification when the operation completed.

state
Object

The user-defined object that represents the state of the operation.

Returns

The IAsyncResult object that represents the result of the asynchronous operation.

Applies to