PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsAsync­Method­Logging­ContextAwaited­Method
Open sandboxFocus

AsyncMethodLoggingContext.AwaitedMethod Property

AwaitedMethod

Gets the awaited method (i.e. the operand of the await operator), or null if it could not be determined or if the IncludeAwaitedTask profile property is set to false.

Declaration
public MethodBase AwaitedMethod { get; }
Property Value
Type Description
System.Reflection.MethodBase