PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts/Logging­Context/Set­Correlation
Open sandboxFocus

Method SetCorrelation

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.