LoggingContext.MakeSharable Method |
Allows the current context to be shared beyond its normal lifecycle by preventing it from being returned to the pool.
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.6.14.0 (6.6.14.0)

C#
public void MakeSharable()
