MessageEncoder.BeginWriteMessage Method

Definition

Starts the writing of message for the message encoder with specified message, stream, callback and state.

C#
public virtual IAsyncResult BeginWriteMessage(System.ServiceModel.Channels.Message message, System.IO.Stream stream, AsyncCallback callback, object state);

Parameters

message
Message

The message.

stream
Stream

The stream.

callback
AsyncCallback

The callback.

state
Object

The state.

Returns

The asynchronous result of the 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