public sealed class BeginTransactionRequest : IMessage<BeginTransactionRequest>, IEquatable<BeginTransactionRequest>, IDeepCloneable<BeginTransactionRequest>, IBufferMessage, IMessage
The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
public RequestOptions RequestOptions { get; set; }
Common options for this request.
Priority is ignored for this request. Setting the priority in this
request_options struct will not do anything. To set the priority for a
transaction, set it on the reads and writes that are part of this
transaction instead.
[[["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 webpage details the \u003ccode\u003eBeginTransactionRequest\u003c/code\u003e class, which is used to initiate transactions within Google Cloud Spanner.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the \u003ccode\u003eBeginTransactionRequest\u003c/code\u003e, ranging from version 3.5.0 up to the latest beta version 5.0.0-beta05, along with the currently displayed version 3.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBeginTransactionRequest\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, defining its functionality and how it interacts with other objects.\u003c/p\u003e\n"],["\u003cp\u003eEssential properties of the \u003ccode\u003eBeginTransactionRequest\u003c/code\u003e include \u003ccode\u003eOptions\u003c/code\u003e (transaction settings), \u003ccode\u003eRequestOptions\u003c/code\u003e (request-specific options), and \u003ccode\u003eSession\u003c/code\u003e (the active session for the transaction).\u003c/p\u003e\n"],["\u003cp\u003eThe class features two constructors: a parameterless constructor and one that takes another \u003ccode\u003eBeginTransactionRequest\u003c/code\u003e object as input for cloning.\u003c/p\u003e\n"]]],[],null,[]]