Share via


ConfigurationManager<T>.RequestRefresh Method

Definition

Triggers updating metadata when:

1. Called the first time.

2. The time between when this method was called and DateTimeOffset.Now is greater than RefreshInterval.

If RefreshInterval == MaxValue then this method does nothing.

public override void RequestRefresh();
override this.RequestRefresh : unit -> unit
Public Overrides Sub RequestRefresh ()

Implements

Remarks

If the strategy is configured to be blocking through the switch 'Switch.Microsoft.IdentityModel.UpdateConfigAsBlocking', then this method will not update the configuration, instead it will request the next call to GetConfigurationAsync() should request new configuration.

Applies to