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 of the \u003ccode\u003eGoogle.Cloud.Spanner.Data\u003c/code\u003e library is 5.0.0-beta05, with multiple previous versions available, down to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTransactionId\u003c/code\u003e is a class within the \u003ccode\u003eGoogle.Cloud.Spanner.Data\u003c/code\u003e namespace used for managing active transactions in Cloud Spanner, enabling data sharing with another machine or process.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransactionId\u003c/code\u003e class includes properties such as \u003ccode\u003eConnectionString\u003c/code\u003e, which reveals the connection string the transaction was created in.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTransactionId\u003c/code\u003e objects can be serialized and deserialized using the \u003ccode\u003eToBase64String()\u003c/code\u003e and \u003ccode\u003eFromBase64String(String)\u003c/code\u003e methods, facilitating data transfer and shared connections.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransactionId\u003c/code\u003e class overrides the inherited \u003ccode\u003eGetHashCode()\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,[]]