MessageEncoder.BeginWriteMessage 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为有指定的消息、流、恢复和状态的消息编码器,启动消息写入。
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
参数
- message
- Message
消息。
- stream
- Stream
流。
- callback
- AsyncCallback
回调。
- state
- Object
状态。
返回
异步操作的结果。