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

TaskInfo Class

Extended information about a Task. Exposed by the TaskInfoRegistry class.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.ThreadingInstrumentation.TaskInfo

Namespace:  PostSharp.Patterns.Diagnostics.ThreadingInstrumentation
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.6.7.0 (6.6.7.0)
Syntax
C#
public sealed class TaskInfo

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