PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Async­Method­Logging­Context Class / Async­Method­Logging­Context Methods / Async­Method­Logging­Context.​Open Method

AsyncMethodLoggingContext.Open Method

Opens the context.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public virtual void Open(
	Task task,
	ref LogMemberInfo memberInfo
)

Parameters

task
Type: System.Threading.Tasks.Task
The Task associated with the async method.
memberInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.LogMemberInfo
Information about the async method.
See Also