[[["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 2022-07-14 UTC."],[],[],null,["# Firebase.Firestore.TransactionOptions Class Reference\n\nFirebase.Firestore.TransactionOptions\n=====================================\n\nOptions to customize transaction behavior for [FirebaseFirestore.RunTransactionAsync](/docs/reference/unity/class/firebase/firestore/firebase-firestore#class_firebase_1_1_firestore_1_1_firebase_firestore_1a5dd9d4668863426fefa06221068f3d6e).\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [TransactionOptions](#class_firebase_1_1_firestore_1_1_transaction_options_1a4aa0a048ae3b228c57e7bf58d00bf0ba)`()` Creates the default [TransactionOptions](/docs/reference/unity/class/firebase/firestore/transaction-options#class_firebase_1_1_firestore_1_1_transaction_options). ||\n\n| ### Properties ||\n|---------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|\n| [MaxAttempts](#class_firebase_1_1_firestore_1_1_transaction_options_1aa950db727e8199208aee6a812f8327b7) | `Int32` The maximum number of attempts to commit, after which the transaction fails. |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------|-------------------|\n| [ToString](#class_firebase_1_1_firestore_1_1_transaction_options_1aafe10d9eb76ab3d225f9c0fe7be16d66)`()` | `override string` |\n\nProperties\n----------\n\n### MaxAttempts\n\n```c#\nInt32 MaxAttempts\n``` \nThe maximum number of attempts to commit, after which the transaction fails.\n\nThe default value is 5, and must be greater than zero.\n\nPublic functions\n----------------\n\n### ToString\n\n```c#\noverride string ToString()\n``` \n\n### TransactionOptions\n\n```c#\n TransactionOptions()\n``` \nCreates the default [TransactionOptions](/docs/reference/unity/class/firebase/firestore/transaction-options#class_firebase_1_1_firestore_1_1_transaction_options)."]]