Method UpdateStoreAsync
- Namespace
- NATS.Client.KeyValueStore
- Assembly
- NATS.Client.KeyValueStore.dll
UpdateStoreAsync(NatsKVConfig, CancellationToken)
Update a key value store configuration. Storage type cannot change.
public ValueTask<INatsKVStore> UpdateStoreAsync(NatsKVConfig config, CancellationToken cancellationToken = default)Parameters
- configNatsKVConfig
- Key Value Store configuration 
- cancellationTokenCancellationToken
- used to cancel the API call. 
Returns
- ValueTask<INatsKVStore>
- Key Value Store 
Exceptions
- NatsKVException
- There was an issue with configuration 
- NatsJSException
- There was an issue retrieving the response. 
- NatsJSApiException
- Server responded with an error.