Open sandboxFocus

Interface ILoggingContext

Defines the minimal semantics of a logging context required by the FlashtraceSource class. This interface is not intended to be implemented by end users of Flashtrace.

Namespace: Flashtrace.Contexts
Assembly: Flashtrace.dll
Syntax
public interface ILoggingContext : IDisposable

Properties

Name Description
IsAsync

Gets a value indicating whether the context represents an async method or an activity in an async method.

IsDisposed

Gets a value indicating whether the context is currently disposed (contexts can be recycled, therefore the disposed state is not the final state).

RecycleId

Gets an integer that is incremented every time the current instance is being recycled.

SyntheticId

Gets a cross-process globally unique identifier for the current context.

Extension Methods