This interface defines virtual methods for each of the user-facing overload sets in TraceServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TraceServiceClient.
[[["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-03-14 UTC."],[[["This webpage details the `TraceServiceConnection` class, which is used in conjunction with `TraceServiceClient` to interact with the Trace service."],["Version 2.37.0-rc is the latest release candidate, and a range of previous versions are also available, down to 2.11.0, with the current page being specific to version 2.14.0."],["The `TraceServiceConnection` interface enables customization of `TraceServiceClient` behavior, including mocking for testing purposes, using the `MockTraceServiceConnection`."],["The `TraceServiceConnection` provides virtual methods such as `BatchWriteSpans` and `CreateSpan`, with specific parameter and return types as described."],["To use the `TraceServiceConnection`, you can make a concrete instance using the `MakeTraceServiceConnection()` function."]]],[]]