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

TaskInfoRegistry Class

Stores additional information about instances of the System.Threading.Tasks.Task class. This class is populated by the ThreadingInstrumentationPolicy and consumed by the Logging component.

Inheritance
TaskInfoRegistry
Namespace: PostSharp.Patterns.Diagnostics.ThreadingInstrumentation
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public static class TaskInfoRegistry : Object

Methods

Name Description
GetTaskInfo(Task)

Gets a TaskInfo for a specific System.Threading.Tasks.Task.

RegisterMethod(Task, MethodInfo, CallerInfo)

Associates a System.Threading.Tasks.Task with the MethodInfo that created it.