PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Correlation­Cookie Structure / Correlation­Cookie Constructor

CorrelationCookie Constructor

Initializes a new CorrelationCookie.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.1.0 (6.9.1.0)
Syntax
C#
public CorrelationCookie(
	ILoggingContext parentContext
)

Parameters

parentContext
Type: PostSharp.Patterns.Diagnostics.Contexts.ILoggingContext
The parent context (the one of the CreateCorrelationCookie() method).
See Also