PostSharp6.0/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: 6.0.35.0 (6.0.35.0)
Syntax
C#
public virtual void Open(
	AsyncCallId asyncCallId,
	ref LogMemberInfo memberInfo
)

Parameters

asyncCallId
Type: PostSharp.Aspects.AsyncCallId
The Task associated with the async method.
memberInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.LogMemberInfo
Information about the async method.
See Also