PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsAsync­Method­Logging­ContextTask
Open sandboxFocus

AsyncMethodLoggingContext.Task Property

Task

Gets the System.Threading.Tasks.Task that is currently associated to the current async method invocation. An async method invocation may be associated to several different tasks during its lifetime.

Declaration
public Task Task { get; set; }
Property Value
Type Description
System.Threading.Tasks.Task