public sealed class TransactionId : IEquatable<TransactionId>
Reference documentation and code samples for the Google.Cloud.Spanner.Data class 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 documentation page provides reference information for the \u003ccode\u003eTransactionId\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Spanner.Data\u003c/code\u003e namespace, detailing its functionality in Cloud Spanner transactions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTransactionId\u003c/code\u003e class allows for the identification of an active transaction in Cloud Spanner, facilitating the transfer of transaction information to other processes or machines.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eConnectionString\u003c/code\u003e, which is used to define the connections string where the transaction was created.\u003c/p\u003e\n"],["\u003cp\u003eMethods \u003ccode\u003eFromBase64String\u003c/code\u003e and \u003ccode\u003eToBase64String\u003c/code\u003e can create and serialize \u003ccode\u003eTransactionId\u003c/code\u003e instances using Base64 encoding, respectively.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the documentation are available, ranging from version 3.5.0 up to the latest beta release, 5.0.0-beta05.\u003c/p\u003e\n"]]],[],null,[]]