LoggingContext.IsSharable Property |
Determines whether the current
LoggingContext can be accessed outside of its
nominal lifetime (for instance after the method has completed or a custom activity has been closed).
Since contexts can be pooled and reused, consumers must call the
MakeSharable() method
if they want to keep a reference to the
LoggingContext and access it after its nominal lifetime has completed.
Namespace:
PostSharp.Patterns.Diagnostics.Contexts
Assembly:
PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.4.11.0 (6.4.11.0)
Syntaxpublic bool IsSharable { get; }
Property Value
Type:
Boolean
See Also