PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Context­Local­Configuration­Scope
Open sandboxFocus

LoggingContextLocalConfigurationScope Class

Represents a scope started with the WithContextLocalConfiguration(LoggingContextLocalConfiguration) method. Dispose the scope to close it. It is recommended to use the using keyword.

Inheritance
System.Object
LoggingContextLocalConfigurationScope
Implements
IDisposable
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class LoggingContextLocalConfigurationScope : ValueType

Properties

Name Description
Configuration

Gets the LoggingContextLocalConfiguration for the new context.

Methods

Name Description
Dispose()

Disposes the current scope.