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` object, which is part of the `TraceServiceClient` within version 2.12.0 of the C++ library, and also contains links to previous versions."],["The `TraceServiceConnection` interface provides virtual methods that correspond to user-facing overload sets found in `TraceServiceClient`, enabling users to customize behavior during testing."],["You can create a concrete instance of `TraceServiceConnection` using `MakeTraceServiceConnection()`."],["For testing, `trace_v2_mocks::MockTraceServiceConnection` can be used to create mock objects."],["The functions documented for this object are options(), BatchWriteSpans, and CreateSpan, with detailed parameter and return information."]]],[]]