Sprache

IConfigurationEventHandler<T>.BeforeRetrieveAsync Methode

Definition

Wird aufgerufen, bevor die Konfiguration vom Metadatenendpunkt abgerufen wird.

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))

Parameter

metadataAddress
String

Die Metadatenendpunktadresse.

cancellationToken
CancellationToken

Ein Abbruchtoken, das beim Warten auf den Abschluss der Aufgabe beobachtet werden soll.

Gibt zurück

A ConfigurationEventHandlerResult<T> if valid and available, or NoResult to proceed with normal retrieval.

Gilt für: