Reference documentation and code samples for the Google Cloud Trace v2 API class TraceService.
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 document provides reference documentation for the Google Cloud Trace v2 API's \u003ccode\u003eTraceService\u003c/code\u003e class, detailing its functionality for collecting and viewing traces and spans within an application.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTraceService\u003c/code\u003e class is designed to manage traces, which are collections of spans representing operations in an application, and spans, which are timed events forming nodes in the trace tree.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes version history, with version 3.6.0 being the latest and versions ranging from 3.5.0 down to 2.2.0 for users who may be on older versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTraceService\u003c/code\u003e class inherits from the \u003ccode\u003eObject\u003c/code\u003e class and has methods like \u003ccode\u003eBindService\u003c/code\u003e, which is used to register and implement server-side handling logic for the service within a gRPC server environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e methods take parameters like \u003ccode\u003eserviceImpl\u003c/code\u003e and \u003ccode\u003eserviceBinder\u003c/code\u003e, enabling developers to set up and customize the service binding logic for the \u003ccode\u003eTraceService\u003c/code\u003e with the .NET gRPC framework.\u003c/p\u003e\n"]]],[],null,[]]