Taal

IConfigurationEventHandler<T>.BeforeRetrieveAsync Methode

Definitie

Wordt aangeroepen voordat de configuratie wordt opgehaald van het eindpunt voor metagegevens.

public System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.Configuration.ConfigurationEventHandlerResult<T>> BeforeRetrieveAsync(string metadataAddress, System.Threading.CancellationToken cancellationToken = default);
abstract member BeforeRetrieveAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.Configuration.ConfigurationEventHandlerResult<'T>>
Public Function BeforeRetrieveAsync (metadataAddress As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConfigurationEventHandlerResult(Of T))

Parameters

metadataAddress
String

Het eindpuntadres van de metagegevens.

cancellationToken
CancellationToken

Een annuleringstoken dat u kunt observeren terwijl wordt gewacht totdat de taak is voltooid.

Retouren

Een ConfigurationEventHandlerResult<T> indien geldig en beschikbaar, of NoResult om door te gaan met normaal ophalen.

Van toepassing op