PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Async­Method­Logging­Context Class/Async­Method­Logging­Context Properties/Async­Method­Logging­Context.​Awaited­Method Property

AsyncMethodLoggingContext.AwaitedMethod Property

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.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
public MethodBase AwaitedMethod { get; }

Property Value

Type: MethodBase
See Also