Firebase.Firestore.TransactionOptions

Options to customize transaction behavior forFirebaseFirestore.RunTransactionAsync.

Summary

Constructors and Destructors

TransactionOptions()
Creates the defaultTransactionOptions.

Properties

MaxAttempts
Int32
The maximum number of attempts to commit, after which the transaction fails.

Public functions

ToString()
override string

Properties

MaxAttempts

Int32MaxAttempts

The maximum number of attempts to commit, after which the transaction fails.

The default value is 5, and must be greater than zero.

Public functions

ToString

overridestringToString()

TransactionOptions

TransactionOptions()

Creates the defaultTransactionOptions.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-07-14 UTC.