IConfigurationEventHandlerContextAware<T>.AfterUpdateAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在成功取得配置後,以「發射後忘記」的方式呼叫。
public System.Threading.Tasks.Task AfterUpdateAsync(string metadataAddress, T configuration, Microsoft.IdentityModel.Protocols.Configuration.ConfigurationRetrievalContext context, System.Threading.CancellationToken cancellationToken = default);
abstract member AfterUpdateAsync : string * 'T * Microsoft.IdentityModel.Protocols.Configuration.ConfigurationRetrievalContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AfterUpdateAsync (metadataAddress As String, configuration As T, context As ConfigurationRetrievalContext, Optional cancellationToken As CancellationToken = Nothing) As Task
參數
- metadataAddress
- String
元資料端點位址。
- configuration
- T
取回的配置。
- context
- ConfigurationRetrievalContext
設定擷取操作的上下文,提供額外資訊與控制。
- cancellationToken
- CancellationToken
一個取消標記,供在等待任務完成時觀察。