PostSharpAPI ReferencePost­Sharp.​AspectsMethod­Interception­ArgsAsync­Binding
Open sandboxFocus

MethodInterceptionArgs.AsyncBinding Property

AsyncBinding

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

Declaration
public abstract IAsyncMethodBinding AsyncBinding { get; }
Property Value
Type Description
IAsyncMethodBinding
Remarks

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

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.