Struct TransportSpan
An inbound transport span opened by . Disposing
it ends the span and gives the thread back the ambient activity it had before.
public readonly struct TransportSpan : IDisposable
Implements
Properties
Activity
The span; null when nobody listens or tracing is off for the context.
public Activity? Activity { get; }
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()