Method DeleteStoreAsync
- Namespace
- NATS.Client.KeyValueStore
- Assembly
- NATS.Client.KeyValueStore.dll
DeleteStoreAsync(string, CancellationToken)
Delete a Key Value Store
public ValueTask<bool> DeleteStoreAsync(string bucket, CancellationToken cancellationToken = default)Parameters
- bucketstring
- Name of the bucket 
- cancellationTokenCancellationToken
- A CancellationToken used to cancel the API call. 
Returns
Exceptions
- NatsJSException
- There was an issue retrieving the response. 
- NatsJSApiException
- Server responded with an error.