KeyValueStoreReplica.Update Method

Definition

Overloads

Update(TransactionBase, String, Byte[])

Updates the stored value associated with the specified key.

Update(TransactionBase, String, Byte[], Int64)

Updates the value indexed by the specified key.

Update(TransactionBase, String, Byte[])

Updates the stored value associated with the specified key.

public void Update (System.Fabric.TransactionBase transactionBase, string key, byte[] value);
member this.Update : System.Fabric.TransactionBase * string * byte[] -> unit
Public Sub Update (transactionBase As TransactionBase, key As String, value As Byte())

Parameters

transactionBase
TransactionBase

The transaction instance.

key
String

The key or index of the value to be updated (as a string). Limited to 800 characters in length.

value
Byte[]

The value (as a byte array) to be stored, limited to 2GB in length.

Applies to

Update(TransactionBase, String, Byte[], Int64)

Updates the value indexed by the specified key.

public void Update (System.Fabric.TransactionBase transactionBase, string key, byte[] value, long checkSequenceNumber);
member this.Update : System.Fabric.TransactionBase * string * byte[] * int64 -> unit
Public Sub Update (transactionBase As TransactionBase, key As String, value As Byte(), checkSequenceNumber As Long)

Parameters

transactionBase
TransactionBase

The transaction instance.

key
String

The key or index of the value to be updated (as a string). Limited to 800 characters in length.

value
Byte[]

The value (as a byte array) to be stored, limited to 2GB in length.

checkSequenceNumber
Int64

The expected sequence number of the key to be updated.

Applies to