TaskInfoRegistry.GetTaskInfo Method |
Namespace: PostSharp.Patterns.Diagnostics.ThreadingInstrumentation
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public static TaskInfo GetTaskInfo( Task task )
Parameters
- task
- Type: System.Threading.Tasks.Task
A Task.
Return Value
Type: TaskInfoThe TaskInfo associated with task, or null if no TaskInfo is associated with task.