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

定義

開始以指定的訊息、資料流、回呼及狀態寫入訊息編碼器的訊息。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

參數

message
Message Message Message

訊息。The message.

stream
Stream Stream Stream

資料流。The stream.

callback
AsyncCallback AsyncCallback AsyncCallback

回呼。The callback.

state
Object Object Object

狀態。The state.

傳回

作業的非同步結果。The asynchronous result of the operation.

適用於