PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsCorrelation­Cookie
Open sandboxFocus

CorrelationCookie Class

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

Inheritance
System.Object
CorrelationCookie
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class CorrelationCookie : ValueType

Constructors

Name Description
CorrelationCookie(ILoggingContext)

Initializes a new CorrelationCookie.

Properties

Name Description
Null

Gets a default instance of the CorrelationCookie type.

ParentContext

Gets the parent context (the one of the CreateCorrelationCookie() method).