Message.BeginWriteMessage(XmlDictionaryWriter, AsyncCallback, Object) Method

Definition

Starts the asynchronous writing of the entire message.

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

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