PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Context­Local­Configuration­Scope Structure

LoggingContextLocalConfigurationScope Structure

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

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public struct LoggingContextLocalConfigurationScope : IDisposable

The LoggingContextLocalConfigurationScope type exposes the following members.

Methods
  NameDescription
Public methodDispose
Disposes the current scope.
See Also