PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Threading­Instrumentation Namespace/Task­Info Class/Task­Info Properties

TaskInfo Properties

The TaskInfo type exposes the following members.

Properties
  NameDescription
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