IMetadataExchange.BeginGet(Message, AsyncCallback, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
开始元数据的异步检索。
public:
IAsyncResult ^ BeginGet(System::ServiceModel::Channels::Message ^ request, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(Action="http://schemas.xmlsoap.org/ws/2004/09/transfer/Get", AsyncPattern=true, ReplyAction="http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse")]
public IAsyncResult BeginGet (System.ServiceModel.Channels.Message request, AsyncCallback callback, object state);
[<System.ServiceModel.OperationContract(Action="http://schemas.xmlsoap.org/ws/2004/09/transfer/Get", AsyncPattern=true, ReplyAction="http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse")>]
abstract member BeginGet : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Public Function BeginGet (request As Message, callback As AsyncCallback, state As Object) As IAsyncResult
参数
- callback
- AsyncCallback
指向将处理元数据的方法的 AsyncCallback。
- state
- Object
允许调用方确定要返回的异步调用的任意数据。
返回
一个 IAsyncResult,可传递给 EndGet(IAsyncResult) 方法。
- 属性