InvokeInterceptor Delegado

Definición

Controla la invocación del objeto proporcionado request.

public delegate System.Threading.Tasks.Task<object> InvokeInterceptor(MethodInfo targetMethod, InvokeMethodRequest request, IGrain target, IGrainMethodInvoker invoker);
type InvokeInterceptor = delegate of MethodInfo * InvokeMethodRequest * IGrain * IGrainMethodInvoker -> Task<obj>
Public Delegate Function InvokeInterceptor(targetMethod As MethodInfo, request As InvokeMethodRequest, target As IGrain, invoker As IGrainMethodInvoker) As Task(Of Object) 

Parámetros

targetMethod
MethodInfo

Método al target invocarse.

request
InvokeMethodRequest

La solicitud.

target
IGrain

Destino de invocación.

invoker
IGrainMethodInvoker

El invocador que se usa para enviar el proporcionado request al proporcionado target.

Valor devuelto

Resultado de la invocación, que se devolverá al cliente.

Se aplica a