AzureTableSettingsStoreRemoveAsync(String, String, CancellationToken) Method

Removes a key-value setting pair from persistent storage. If the setting does not exist, logs at Trace level and returns null (idempotent).

Definition

Namespace: InnerDrive.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.3.9666.0
C#
public Task RemoveAsync(
	string topic,
	string key,
	CancellationToken cancellationToken = default
)

Parameters

topic  String
The topic (usually class name) of the setting
key  String
The unique key identifying the setting in the topic area
cancellationToken  CancellationToken  (Optional)
A CancellationToken controlling the request lifetime.

Return Value

Task

Exceptions

ArgumentNullExceptiontopic or key is null, empty, or whitespace
InvalidOperationExceptionNo table name is configured at the application level (i.e., appSettings.config)

See Also