다음을 통해 공유


KeyValueStoreReplica.Contains(TransactionBase, String) Method

Definition

Determines whether a value is contained in the key/value store.

public bool Contains (System.Fabric.TransactionBase transactionBase, string key);
member this.Contains : System.Fabric.TransactionBase * string -> bool
Public Function Contains (transactionBase As TransactionBase, key As String) As Boolean

Parameters

transactionBase
TransactionBase

The transaction instance.

key
String

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

Returns

true if the value is contained in the key/value store; false, otherwise.

Applies to