This file describes an API for collecting and viewing traces and spans
within a trace. A Trace is a collection of spans corresponding to a single
operation or set of operations for an application. A span is an individual
timed event which forms a node of the trace tree. A single trace may
contain span(s) from multiple services.
public static void BindService(ServiceBinderBase serviceBinder, TraceService.TraceServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["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 page details the \u003ccode\u003eTraceService\u003c/code\u003e API, used for collecting and viewing traces and spans within an application.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API available is 3.6.0, with a history of versions back to 2.2.0, as presented in the content.\u003c/p\u003e\n"],["\u003cp\u003eA trace is a set of spans that corresponds to a single operation within an application, potentially involving multiple services.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTraceService\u003c/code\u003e class can bind service implementations using either the \u003ccode\u003eBindService(TraceService.TraceServiceBase)\u003c/code\u003e method to generate a service definition or the \u003ccode\u003eBindService(ServiceBinderBase, TraceService.TraceServiceBase)\u003c/code\u003e method for customized binding logic.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTraceService\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e, and inherits standard members like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]