PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Threading­InstrumentationTask­Info
Open sandboxFocus

TaskInfo Class

Extended information about a System.Threading.Tasks.Task. Exposed by the TaskInfoRegistry class.

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

Properties

Name Description
CallerInfo

Gets information about the line of code that instantiated the System.Threading.Tasks.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).