Message.OnBeginWriteBodyContents Method

Definition

Raises an event when the message starts writing the contents of the message body.

protected:
 virtual IAsyncResult ^ OnBeginWriteBodyContents(System::Xml::XmlDictionaryWriter ^ writer, AsyncCallback ^ callback, System::Object ^ state);
protected virtual IAsyncResult OnBeginWriteBodyContents (System.Xml.XmlDictionaryWriter writer, AsyncCallback callback, object state);
abstract member OnBeginWriteBodyContents : System.Xml.XmlDictionaryWriter * AsyncCallback * obj -> IAsyncResult
override this.OnBeginWriteBodyContents : System.Xml.XmlDictionaryWriter * AsyncCallback * obj -> IAsyncResult
Protected Overridable Function OnBeginWriteBodyContents (writer As XmlDictionaryWriter, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

writer
XmlDictionaryWriter

The writer used to serialize the contents of 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