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 page details the \u003ccode\u003eBeginTransactionRequest\u003c/code\u003e class, which is used to initiate a transaction in Google Cloud Spanner, with the latest beta version being 5.0.0-beta05.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBeginTransactionRequest\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides constructors for creating instances, including a default constructor and one that takes another \u003ccode\u003eBeginTransactionRequest\u003c/code\u003e as a parameter for copying.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eOptions\u003c/code\u003e, \u003ccode\u003eRequestOptions\u003c/code\u003e, \u003ccode\u003eSession\u003c/code\u003e, and \u003ccode\u003eSessionAsSessionName\u003c/code\u003e, which are essential for configuring and executing the transaction request in the correct session.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content covers multiple versions of this class ranging from 3.5.0 to the latest beta version 5.0.0-beta05, along with their corresponding links and reference information.\u003c/p\u003e\n"]]],[],null,[]]