PostSharp6.4/API Reference/Post­Sharp.​Aspects Namespace/Method­Interception­Args Class/Method­Interception­Args Properties/Method­Interception­Args.​Async­Binding Property

MethodInterceptionArgs.AsyncBinding Property

Gets an interface that allows to invoke asynchronously the next node in the chain of invocation of the intercepted method.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
public abstract IAsyncMethodBinding AsyncBinding { get; }

Property Value

Type: IAsyncMethodBinding
Remarks

Bindings are thread-safe and context-free singleton instances exposing the next node in the chain of invocation.

Note Note
As a result of weaving optimizations, value of this property may be seen as null in a debugger. If you need to inspect the value in runtime, consider disabling aspect optimizations in the debug build configuration.
See Also