Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 184.108.40.206 (220.127.116.11)
public abstract class LoggingContext : ILoggingContext, IDisposable
Thetype exposes the following members.
Gets the ActivationContext refers to the context in which the context was resumed.in which the current context was activated. If the current context has been resumed,
Gets the parent LoggingBackend of the current context.
Gets the description of the current context. The description is typically set by the LogRecordBuilder when building the opening record of a context.
Gets or set the identifier of the current context. This property should be used for debugging only. Its value is lazily created.
Gets or sets the indentation level for the current context.
Determines whether the currentrepresents an async method or an asynchronous custom activity.
Determines whether the current context has been disposed.
Determines whether the current MakeSharable() method if they want to keep a reference to the and access it after its nominal lifetime has completed.can be accessed outside of its nominal lifetype (for instance after the method has completed or a custom activity has beeen closed). Since contexts can be pooled and reused, consumers must call the
Gets the kind of the current context.
Gets the name of the method or property related to the current context.
Gets thethat created (initiated) the current context. This is the logical parent.
Gets the LoggingTypeSource corresponding, typically, to the declaring type of the member associated to the current context.
Gets the ThreadLoggingContext for the thread in which the current is currently executed.
Creates a cookie that can be used to correlate, using the SetCorrelation(CorrelationCookie) method, another context to the current context.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Disposes the current object.
Gets a LogRecordBuilder for the current context to build a custom record.
Gets a LogRecordBuilder for the current context to build a standard record for a given method.
Allows the current context to be shared beyond its normal lifecycle by preventing it from being returned to the pool.
Resets the current context to its initial, uninitialized state. This method is called by the Dispose() method.
Associates the current context with another context.
Sets the wait dependency for the current context, i.e. sets a representation of what the current context is waiting for. This operation is available only in custom contexts.
Returns a string that represents the current object.(Overrides Object.ToString().)
Formats a description of the current StringBuilder.into a given