PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / ILogging­Context Interface / ILogging­Context Properties / ILogging­Context.​Is­Async Property

ILoggingContext.IsAsync Property

Determines whether the context represents an async method or a custom activity in an async method.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.16.0 (6.5.16.0)
Syntax
C#
bool IsAsync { get; }

Property Value

Type: Boolean
See Also