MessageEncoder.BeginWriteMessage(Message, Stream, AsyncCallback, Object) MessageEncoder.BeginWriteMessage(Message, Stream, AsyncCallback, Object) MessageEncoder.BeginWriteMessage(Message, Stream, AsyncCallback, Object) Method

Definition

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

public:
 virtual IAsyncResult ^ BeginWriteMessage(System::ServiceModel::Channels::Message ^ message, System::IO::Stream ^ stream, AsyncCallback ^ callback, System::Object ^ state);
public virtual IAsyncResult BeginWriteMessage (System.ServiceModel.Channels.Message message, System.IO.Stream stream, AsyncCallback callback, object state);
abstract member BeginWriteMessage : System.ServiceModel.Channels.Message * System.IO.Stream * AsyncCallback * obj -> IAsyncResult
override this.BeginWriteMessage : System.ServiceModel.Channels.Message * System.IO.Stream * AsyncCallback * obj -> IAsyncResult

Parameters

message
Message Message Message

The message.

stream
Stream Stream Stream

The stream.

callback
AsyncCallback AsyncCallback AsyncCallback

The callback.

state
Object Object Object

The state.

Returns

The asynchronous result of the operation.

Applies to