共用方式為


IMetadataExchange.BeginGet(Message, AsyncCallback, Object) 方法

定義

開始非同步擷取中繼資料。

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

參數

request
Message

必須加以處理的 Message,以決定要傳回的中繼資料。

callback
AsyncCallback

AsyncCallback 會指向將處理中繼資料的方法。

state
Object

任何資料,可讓呼叫者判斷傳回的非同步呼叫。

傳回

IAsyncResult,可以傳遞至 EndGet(IAsyncResult) 方法。

屬性

適用於