PostSharp5.0//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Sync­Custom­Activity­Logging­Context Class/Sync­Custom­Activity­Logging­Context Methods/Sync­Custom­Activity­Logging­Context.​Open Method

SyncCustomActivityLoggingContext.Open Method

Opens the current 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(
	LoggingTypeSource typeSource,
	LogActivityOptions options
)

Parameters

typeSource
Type: PostSharp.Patterns.Diagnostics.LoggingTypeSource
The LoggingTypeSource for the declaring type of the context.
options
Type: PostSharp.Patterns.Diagnostics.LogActivityOptions
See Also