PostSharp 5.0 / / Post­Sharp Documentation / 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: 5.0.55.0 (5.0.55.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).
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also