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) 方法。
- 屬性