public sealed class TransactionId : IEquatable<TransactionId>
A TransactionId holds identifying information about an active transaction in
Cloud Spanner. Since it is serializable, it enables you to send this information
to another process or machine so it may connect to the same transaction.
[[["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-04-09 UTC."],[[["This page details the `TransactionId` class in the Google.Cloud.Spanner.Data namespace, used for managing active transactions in Cloud Spanner."],["The `TransactionId` class allows for serialization of transaction information, enabling sharing transaction details across different processes or machines."],["The latest version of the `Google.Cloud.Spanner.Data` package documented here is 5.0.0-beta05, but this page specifically deals with the 3.7.0 version, and it lists other previous versions from 3.5.0 up to 5.0.0-beta04."],["Key functionalities of the `TransactionId` class include `FromBase64String()` for creating an instance from a Base64 string, and `ToBase64String()` for encoding the transaction ID into a Base64 string."],["The `ConnectionString` property is provided by the `TransactionId` class to display the string this transaction was created in, and it also overrides the `GetHashCode()` method inherited from the base class."]]],[]]