Message.BeginWriteBodyContents(XmlDictionaryWriter, AsyncCallback, Object) Method

Definition

Starts the asynchronous writing of the contents of the message body.

public:
 IAsyncResult ^ BeginWriteBodyContents(System::Xml::XmlDictionaryWriter ^ writer, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginWriteBodyContents (System.Xml.XmlDictionaryWriter writer, AsyncCallback callback, object state);
member this.BeginWriteBodyContents : System.Xml.XmlDictionaryWriter * AsyncCallback * obj -> IAsyncResult
Public Function BeginWriteBodyContents (writer As XmlDictionaryWriter, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

writer
XmlDictionaryWriter

The writer used to serialize the message body.

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