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."],[[["The `TransactionId` class, found in the `Google.Cloud.Spanner.Data` namespace, holds identifying information about an active transaction in Cloud Spanner, and is serializable."],["The `TransactionId` class is derived from the `Object` class and implements the `IEquatable\u003cTransactionId\u003e` interface, and this class can be found in the assembly `Google.Cloud.Spanner.Data.dll`."],["You can get the `ConnectionString` where the transaction was created by using the `ConnectionString` property, and also use `GetHashCode` to get the hash code for the transaction."],["The `TransactionId` can be converted to and from a Base64 encoded string using the methods `ToBase64String()` and `FromBase64String(String)` respectively, enabling the sharing of transaction information between different processes or machines."],["This page provides access to multiple versions of the `Google.Cloud.Spanner.Data` package, with `5.0.0-beta05` being the latest and `3.5.0` being the oldest on this page."]]],[]]