PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Correlation­Cookie Structure

CorrelationCookie Structure

Represents a correlation between two LoggingContext. This type is created by the CreateCorrelationCookie() method.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.6.10.0 (6.6.10.0)
Syntax
C#
public struct CorrelationCookie

The CorrelationCookie type exposes the following members.

Constructors
  NameDescription
Public methodCorrelationCookie
Initializes a new CorrelationCookie.
Properties
  NameDescription
Public propertyStatic memberNull
Gets a default instance of the CorrelationCookie type.
Public propertyParentContext
Gets the parent context (the one of the CreateCorrelationCookie() method).
See Also