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\u003eThis document outlines the \u003ccode\u003eTransactionId\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Spanner.Data\u003c/code\u003e namespace, which is used to identify and manage active transactions in Cloud Spanner.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransactionId\u003c/code\u003e class is serializable, allowing transaction information to be passed between processes or machines for connecting to the same transaction.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransactionId\u003c/code\u003e class offers methods such as \u003ccode\u003eFromBase64String\u003c/code\u003e to create a \u003ccode\u003eTransactionId\u003c/code\u003e from a base64 encoded string, and \u003ccode\u003eToBase64String\u003c/code\u003e to serialize a \u003ccode\u003eTransactionId\u003c/code\u003e into a base64 string.\u003c/p\u003e\n"],["\u003cp\u003eThe current latest version is 5.0.0-beta05, with a range of prior releases available going as far back as version 3.5.0 for the Google Cloud Spanner Data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransactionId\u003c/code\u003e class is an implementation of \u003ccode\u003eIEquatable<TransactionId>\u003c/code\u003e, inheriting members such as \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]