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 \u003ccode\u003eTransactionId\u003c/code\u003e class represents an active transaction in Cloud Spanner, allowing for the transfer of transaction details to other processes or machines.\u003c/p\u003e\n"],["\u003cp\u003eVersion 5.0.0-beta05 is the latest beta release, and there are multiple previous versions available, including stable releases starting from version 3.5.0 up to 4.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransactionId\u003c/code\u003e class implements the \u003ccode\u003eIEquatable\u003c/code\u003e interface, providing methods to compare instances, and inherits from \u003ccode\u003eObject\u003c/code\u003e, providing members such as \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes methods like \u003ccode\u003eFromBase64String(String)\u003c/code\u003e to create a \u003ccode\u003eTransactionId\u003c/code\u003e from a Base64 string and \u003ccode\u003eToBase64String()\u003c/code\u003e to convert the current \u003ccode\u003eTransactionId\u003c/code\u003e instance into a Base64 string for serialization.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a \u003ccode\u003eConnectionString\u003c/code\u003e property which is a string that indicates the connection string the transaction was created in, and also a \u003ccode\u003eGetHashCode()\u003c/code\u003e method, which provides a hash code for the current instance.\u003c/p\u003e\n"]]],[],null,[]]