PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsSync­Custom­Activity­Logging­ContextOpen
Open sandboxFocus

SyncCustomActivityLoggingContext.Open Method

Open(LoggingTypeSource, in OpenActivityOptions)

Opens the current context.

Declaration
public virtual void Open(LoggingTypeSource typeSource, in OpenActivityOptions options)
Parameters
Type Name Description
LoggingTypeSource typeSource

The LoggingTypeSource for the declaring type of the context.

OpenActivityOptions options

Options of the opened custom context.