PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsLogging­ContextSet­Correlation
Open sandboxFocus

LoggingContext.SetCorrelation Method

SetCorrelation(CorrelationCookie)

Associates the current context with another context.

Declaration
public virtual void SetCorrelation(CorrelationCookie correlationCookie)
Parameters
Type Name Description
CorrelationCookie correlationCookie

A CorrelationCookie created by the CreateCorrelationCookie() method of another context.