Edit

Share via


InvokeInterceptor Delegate

Definition

Handles the invocation of the provided 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) 

Parameters

targetMethod
MethodInfo

The method on target being invoked.

request
InvokeMethodRequest

The request.

target
IGrain

The invocation target.

invoker
IGrainMethodInvoker

The invoker which is used to dispatch the provided request to the provided target.

Return Value

The result of invocation, which will be returned to the client.

Applies to