共用方式為


KeyValueStoreReplica.Add(TransactionBase, String, Byte[]) Method

Definition

Adds a value indexed by the specified key to the key/value store.

public void Add (System.Fabric.TransactionBase transactionBase, string key, byte[] value);
member this.Add : System.Fabric.TransactionBase * string * byte[] -> unit
Public Sub Add (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 added (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