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\u003eThe latest version of the \u003ccode\u003eBeginTransactionRequest\u003c/code\u003e documentation is 5.0.0-beta05, with version 3.7.0 also being referenced, and numerous prior versions available for review.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBeginTransactionRequest\u003c/code\u003e is a class used to initiate a transaction in Google Cloud Spanner, implementing interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class requires the specification of a session, accessible via the \u003ccode\u003eSession\u003c/code\u003e property, in which the transaction will be run.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBeginTransactionRequest\u003c/code\u003e class offers constructors for default initialization and initialization from another \u003ccode\u003eBeginTransactionRequest\u003c/code\u003e object, and includes properties like \u003ccode\u003eOptions\u003c/code\u003e, \u003ccode\u003eRequestOptions\u003c/code\u003e, and \u003ccode\u003eSession\u003c/code\u003e for configuring the transaction.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation page covers the \u003ccode\u003eBeginTransactionRequest\u003c/code\u003e for initiating transactions within the Google Cloud Spanner environment, using version 3.7.0's reference as the primary focus.\u003c/p\u003e\n"]]],[],null,[]]