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. Spans for a single trace
may span 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\u003eThe latest version available for the TraceService API is 3.4.0, with multiple previous versions accessible, including 2.2.0, the version being documented.\u003c/p\u003e\n"],["\u003cp\u003eTraceService is used to collect and view traces and spans, where a trace is a collection of spans that represent a single operation or set of operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method is provided in two formats for registering service methods, one to create a service definition that can be registered with a server, and another to register with a service binder with or without implementation.\u003c/p\u003e\n"],["\u003cp\u003eTraceService inherits from the base Object class and includes methods like GetHashCode, GetType, MemberwiseClone, and ToString, and it is within the Google.Cloud.Trace.V1 namespace.\u003c/p\u003e\n"],["\u003cp\u003eTraceService utilizes the Google.Cloud.Trace.V1.dll assembly and contains methods that use \u003ccode\u003eTraceService.TraceServiceBase\u003c/code\u003e, which implements server-side logic, and \u003ccode\u003eServiceBinderBase\u003c/code\u003e to call \u003ccode\u003eAddMethod\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]