Message.BeginWriteMessage(XmlDictionaryWriter, AsyncCallback, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
开始整条消息的异步写入。
public:
IAsyncResult ^ BeginWriteMessage(System::Xml::XmlDictionaryWriter ^ writer, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginWriteMessage (System.Xml.XmlDictionaryWriter writer, AsyncCallback callback, object state);
member this.BeginWriteMessage : System.Xml.XmlDictionaryWriter * AsyncCallback * obj -> IAsyncResult
Public Function BeginWriteMessage (writer As XmlDictionaryWriter, callback As AsyncCallback, state As Object) As IAsyncResult
参数
- writer
- XmlDictionaryWriter
用于序列化全部消息的编写器。
- callback
- AsyncCallback
在操作完成时接收通知的委托方法。
- state
- Object
表示操作状态的用户定义的对象。
返回
表示异步操作结果的 IAsyncResult 对象。