Click or drag to resize

IAsyncMethodInterceptor Methods

Version 130.1.90

The IAsyncMethodInterceptor type exposes the following members.

Methods
 NameDescription
Public methodCode exampleIntercept Called before the method is invokved. You are now responsible for evaluating the function and returning the result.
(Inherited from IMethodInterceptor)
Public methodCode exampleInterceptAsync Called before an async method is invoked. You are now responsible for evaluating the function and returning the result. Only methods that return a Task will call this method, other non asynchronous types will call Intercept(FuncObject, Object, Object, String). (async void method will also call Intercept as they do not return a Task).
Top
See Also