Partager via


IConfigurationManager<T>.GetConfigurationAsync Method

Definition

Retrieve the current configuration, refreshing and/or caching as needed. This method will throw if the configuration cannot be retrieved, instead of returning null.

public System.Threading.Tasks.Task<T> GetConfigurationAsync (System.Threading.CancellationToken cancel);
abstract member GetConfigurationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T (requires 'T : null)>
Public Function GetConfigurationAsync (cancel As CancellationToken) As Task(Of T)

Parameters

Returns

Task<T>

Task<TResult>

Applies to