ClientBase<TChannel>.BeginOperationDelegate 代理人

定義

protected:  where TChannel : classdelegate IAsyncResult ^ ClientBase<TChannel>::BeginOperationDelegate(cli::array <System::Object ^> ^ inValues, AsyncCallback ^ asyncCallback, System::Object ^ state);
protected delegate IAsyncResult ClientBase<TChannel>.BeginOperationDelegate(object[] inValues, AsyncCallback asyncCallback, object state) where TChannel : class;
Protected Delegate Function ClientBase(Of TChannel).BeginOperationDelegate(inValues As Object(), asyncCallback As AsyncCallback, state As Object) As IAsyncResult 

參數

inValues
Object[]

非同步呼叫的輸入值。The input values to the asynchronous call.

asyncCallback
AsyncCallback

當對應的非同步作業完成時,要呼叫之方法的參考。Reference to the method to be called when the corresponding asynchronous operation completes.

state
Object

讓用戶端辨別不同非同步呼叫的 ObjectAn Object that lets the client distinguish between different asynchronous calls. 可在事件完成回呼的引數參數中提供用戶端使用。It is made available to the client in the arguments parameter of the event completion callback.

傳回值

IAsyncResult

非同步呼叫的結果。The result of the asynchronous call.

擴充方法

GetMethodInfo(Delegate)

取得表示特定委派所代表之方法的物件。Gets an object that represents the method represented by the specified delegate.

適用於