Open sandboxFocus

Class TaskInfo

Extended information about a Task. Exposed by the TaskInfoRegistry class.

Inheritance
TaskInfo
Namespace: PostSharp.Patterns.Diagnostics.ThreadingInstrumentation
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class TaskInfo

Properties

Name Description
CallerInfo

Gets information about the line of code that instantiated the Task.

Context

Gets the context (for CorrelatedContext).

Kind

Gets the kind of TaskInfo.

Method

Gets the awaited method (for Method).

Tasks

Gets the list of tasks (for WhenAll and WhenAny).