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\u003eThe latest stable version available is 4.6.0, while the most recent version is a beta, 5.0.0-beta05.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTransactionId\u003c/code\u003e is a class in the Google.Cloud.Spanner.Data namespace, that holds identifying information about an active transaction in Cloud Spanner, allowing it to be sent to other processes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTransactionId\u003c/code\u003e includes a \u003ccode\u003eConnectionString\u003c/code\u003e property to determine the connection in which it was created.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFromBase64String(string)\u003c/code\u003e method can create a \u003ccode\u003eTransactionId\u003c/code\u003e instance from a Base64 encoded string, while \u003ccode\u003eToBase64String()\u003c/code\u003e generates a Base64 string from the current object, for serialization.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eTransactionId\u003c/code\u003e implements \u003ccode\u003eIEquatable\u003c/code\u003e and overrides \u003ccode\u003eGetHashCode()\u003c/code\u003e from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]