Message.OnBeginWriteMessage Method

Definition

Raises an event the writing of entire messages starts.

C#
protected virtual IAsyncResult OnBeginWriteMessage(System.Xml.XmlDictionaryWriter writer, AsyncCallback callback, object state);

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

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1