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"]],[["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\u003eThe latest version available is 5.0.0-beta05, and the current document pertains to version 3.9.0 of the \u003ccode\u003eGoogle.Cloud.Spanner.Data\u003c/code\u003e library.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTransactionId\u003c/code\u003e is a class that stores data about an active Cloud Spanner transaction, and it allows the transfer of this transaction information to other processes or machines due to it's serializable nature.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransactionId\u003c/code\u003e class has a \u003ccode\u003eConnectionString\u003c/code\u003e property which represents the connection string used to create the transaction.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes methods to convert a \u003ccode\u003eTransactionId\u003c/code\u003e to a Base64 string via \u003ccode\u003eToBase64String()\u003c/code\u003e and to recreate a \u003ccode\u003eTransactionId\u003c/code\u003e from a Base64 string using \u003ccode\u003eFromBase64String(String)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTransactionId\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and implements \u003ccode\u003eIEquatable<TransactionId>\u003c/code\u003e, and overrides \u003ccode\u003eObject.GetHashCode()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]