PostSharp 5.0 / / 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: 5.0.55.0 (5.0.55.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