PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Threading­InstrumentationTask­Info­RegistryGet­Task­Info
Open sandboxFocus

TaskInfoRegistry.GetTaskInfo Method

GetTaskInfo(Task)

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

Declaration
public static TaskInfo GetTaskInfo(Task task)
Parameters
Type Name Description
System.Threading.Tasks.Task task

A System.Threading.Tasks.Task.

Returns
Type Description
TaskInfo

The TaskInfo associated with task, or null if no TaskInfo is associated with task.