Firebase. Database. TransactionResult
Instances of this class represent the desired outcome of a single Run of a transaction.
Summary
The options are:
- Set the data to the new value (success)
- abort the transaction
Properties |
|||
|---|---|---|---|
IsSuccess
|
bool
Returns
|
|
Whether or not this result is a success
|
Public static functions |
|||||||
|---|---|---|---|---|---|---|---|
Abort()
|
|
Returns
|
|
A TransactionResult that aborts the transaction
|
||||
Success(MutableData resultData)
|
| Parameters |
|
Returns
|
|
A TransactionResult indicating the new data to be stored at the location
|
||
Properties
IsSuccess
bool IsSuccess
| Details | |
|---|---|
| Returns |
Whether or not this result is a success
|
Public static functions
Success
TransactionResult Success( MutableData resultData )
| Details | |||
|---|---|---|---|
| Parameters |
|
||
| Returns |
A TransactionResult indicating the new data to be stored at the location
|

