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

一个 Object,可让客户端区分不同的异步调用。An 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.

适用于