The LoggingContext type exposes the following members.
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.
Invokes a delegate for each property defined in the current logging context and optionally in its ancestor contexts.
|ForEachProperty<T>(LoggingPropertyVisitor<T>, T, Boolean)|
Invokes a delegate for each property defined in the current logging context and optionally in its ancestor contexts, and specifies passes a state object to the delegate.
Gets a LogRecordBuilder for the current context to build a custom record.
Returns a new layer for the async stack that has this LoggingContext as the associated activity and current as the , if a new layer is required.
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.
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().)