OpenTelemetry.Context.ThreadLocalRuntimeContextSlot<T>
public class ThreadLocalRuntimeContextSlot<T> : RuntimeContextSlot<T>, IRuntimeContextSlotValueAccessor
The thread local (TLS) implementation of context slot.
namespace OpenTelemetry.Context
{
public class ThreadLocalRuntimeContextSlot<T> : RuntimeContextSlot<T>, IRuntimeContextSlotValueAccessor
{
public object Value { get; set; }
public ThreadLocalRuntimeContextSlot(string name);
}
}