PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Threading­Instrumentation Namespace / Task­Info Class / Task­Info Properties

TaskInfo Properties

The TaskInfo type exposes the following members.

Public propertyCallerInfo
Gets information about the line of code that instantiated the Task.
Public propertyContext
Gets the context (for CorrelatedContext).
Public propertyKind
Gets the kind of TaskInfo.
Public propertyMethod
Gets the awaited method (for Method).
Public propertyTasks
Gets the list of tasks (for WhenAll and WhenAny).
See Also