Redigera

Dela via


MessageEncoder.BeginWriteMessage 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
Public Overridable Function BeginWriteMessage (message As Message, stream As Stream, callback As AsyncCallback, state As Object) As IAsyncResult

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