Table 2.1. .NET Client Library
| Method | Title |
|---|---|
object.ExecuteStore(storemode, key, value) | Store a value using the specified key and return a store operation result |
object.ExecuteStore(storemode, key, value, expiresat) | Store a value using the specified key with a specific expiry time and return a store operation result |
object.ExecuteStore(storemode, key, value, expiresat, persistto, replicateto) | Store a value using the specified key with a specific expiry time and return a store operation result |
object.ExecuteStore(storemode, key, value, persistto, replicateto) | Store a value using the specified key and return a store operation result |
object.ExecuteStore(storemode, key, value, validfor) | Store a value using the specified key with expiry time and return a store operation result |
object.ExecuteStore(storemode, key, value, validfor, persistto, replicateto) | Store a value using the specified key with expiry time and return a store operation result |
object.Store(storemode, key, value) | Store a value using the specified key |
object.Store(storemode, key, value, expiresat) | Store a value using the specified key with a specific expiry time |
object.Store(storemode, key, value, validfor) | Store a value using the specified key with expiry time |
| API Call | object.Store(storemode, key, value) | ||
| Asynchronous | no | ||
| Description | Store a value using the specified key, whether the key already exists or not. Will overwrite a value if the given key/value already exists. | ||
| Returns | Boolean (
Boolean (true/false)
) | ||
| Arguments | |||
StoreMode storemode | Storage mode for a given key/value pair | ||
string key | Document ID used to identify the value | ||
object value | Value to be stored | ||
| API Call | object.Store(storemode, key, value, validfor) | ||
| Asynchronous | no | ||
| Description | Store a value using the specified key, whether the key already exists or not. Will overwrite a value if the given key/value already exists. | ||
| Returns | Boolean (
Boolean (true/false)
) | ||
| Arguments | |||
StoreMode storemode | Storage mode for a given key/value pair | ||
string key | Document ID used to identify the value | ||
object value | Value to be stored | ||
TimeSpan validfor | Expiry time (in seconds) for key | ||
| API Call | object.Store(storemode, key, value, expiresat) | ||
| Asynchronous | no | ||
| Description | Store a value using the specified key, whether the key already exists or not. Will overwrite a value if the given key/value already exists. | ||
| Returns | Boolean (
Boolean (true/false)
) | ||
| Arguments | |||
StoreMode storemode | Storage mode for a given key/value pair | ||
string key | Document ID used to identify the value | ||
object value | Value to be stored | ||
DateTime expiresat | Explicit expiry time for key | ||