public sealed class SpanContext : IMessage<SpanContext>, IEquatable<SpanContext>, IDeepCloneable<SpanContext>, IBufferMessage, IMessage
The context of a span. This is attached to an
[Exemplar][google.api.Distribution.Exemplar]
in [Distribution][google.api.Distribution] values during aggregation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This webpage details the `SpanContext` class, which is integral to the `Google.Cloud.Monitoring.V3` namespace and used for managing span data within Google Cloud Monitoring."],["The latest version available is 3.15.0, with historical versions ranging from 2.3.0 to 3.14.0 also accessible."],["The `SpanContext` class contains a `SpanName` property, which stores the resource name of a span, formatted as `projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]`."],["The `SpanContext` class implements several interfaces including `IMessage`, `IEquatable\u003cSpanContext\u003e`, `IDeepCloneable\u003cSpanContext\u003e`, and `IBufferMessage`."],["The SpanContext class has two constructors, a default constructor, and a copy constructor that takes another `SpanContext` as a parameter."]]],[]]