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 beta version available is 5.0.0-beta05, and the latest stable release is version 4.6.0, while version 4.0.0 is the reference point in the document.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTransactionId\u003c/code\u003e is a serializable class, which means it can be used to share active transaction information across different processes or machines within Cloud Spanner.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransactionId\u003c/code\u003e class has a \u003ccode\u003eConnectionString\u003c/code\u003e property, which indicates the connection string associated with the transaction.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTransactionId\u003c/code\u003e can be created from a Base64 encoded string using the \u003ccode\u003eFromBase64String\u003c/code\u003e method, and it can be serialized into a Base64 encoded string with the \u003ccode\u003eToBase64String\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetHashCode()\u003c/code\u003e method is overridden to provide a hash code for the \u003ccode\u003eTransactionId\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]