KeyValueStoreReplica.Contains(TransactionBase, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.