Class TransactionOptions (2.4.0)

public sealed class TransactionOptions : IMessage<TransactionOptions>, IEquatable<TransactionOptions>, IDeepCloneable<TransactionOptions>, IBufferMessage, IMessage

Options for creating a new transaction.

Inheritance

Object > TransactionOptions

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

TransactionOptions()

public TransactionOptions()

TransactionOptions(TransactionOptions)

public TransactionOptions(TransactionOptions other)
Parameter
NameDescription
otherTransactionOptions

Properties

ModeCase

public TransactionOptions.ModeOneofCase ModeCase { get; }
Property Value
TypeDescription
TransactionOptions.ModeOneofCase

ReadOnly

public TransactionOptions.Types.ReadOnly ReadOnly { get; set; }

The transaction can only be used for read operations.

Property Value
TypeDescription
TransactionOptions.Types.ReadOnly

ReadWrite

public TransactionOptions.Types.ReadWrite ReadWrite { get; set; }

The transaction can be used for both read and write operations.

Property Value
TypeDescription
TransactionOptions.Types.ReadWrite