AzureTableSettingsStoreFindAsync(String, String, CancellationToken) Method

Finds a setting's value by its topic and key

Definition

Namespace: InnerDrive.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.2.9417.0
C#
public Task<string?> FindAsync(
	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

TaskString
The setting value, or null if the setting cannot be found

Exceptions

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

See Also