PostSharp 6.6 / / 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: 6.6.14.0 (6.6.14.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