The functions here, aside from Dispose(), do not need to be used in most cases.
They need to be used when updating the current span in a disjoint thread.
NOTE: While it is possible to end a span in another thread any new spans after this may be in
a poor state.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eISpan\u003c/code\u003e interface, which represents a trace span within the Google Cloud Diagnostics Common library, specifically version 4.3.1, with links to newer versions also provided.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eISpan\u003c/code\u003e inherits from \u003ccode\u003eIDisposable\u003c/code\u003e, providing a \u003ccode\u003eDispose()\u003c/code\u003e method, and although most other functions do not typically need to be used, they are essential when updating the span in a separate thread.\u003c/p\u003e\n"],["\u003cp\u003eThe interface includes methods like \u003ccode\u003eAnnotateSpan\u003c/code\u003e to add labels, \u003ccode\u003eDisposed\u003c/code\u003e to check the span's status, \u003ccode\u003eSetStackTrace\u003c/code\u003e to add stack trace information, and \u003ccode\u003eSpanId\u003c/code\u003e to retrieve the span's unique identifier.\u003c/p\u003e\n"],["\u003cp\u003eIt is possible to end a span in a disjoint thread, but be aware that creating new spans afterwards may lead to an undesirable state.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eISpan\u003c/code\u003e is defined within the \u003ccode\u003eGoogle.Cloud.Diagnostics.Common\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.Diagnostics.Common.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]