IConfigurationRefresher.SetDirty(Nullable<TimeSpan>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
SetDirty will be deprecated in a future release. Please use the 'ProcessPushNotification' method instead for push-model based configuration refresh.
Sets the cached value for key-values registered for refresh as dirty. A random delay is added before the cached value is marked as dirty to reduce potential throttling in case multiple instances refresh at the same time.
[System.Obsolete("SetDirty will be deprecated in a future release. Please use the 'ProcessPushNotification' method instead for push-model based configuration refresh.")]
public void SetDirty (TimeSpan? maxDelay = default);
[<System.Obsolete("SetDirty will be deprecated in a future release. Please use the 'ProcessPushNotification' method instead for push-model based configuration refresh.")>]
abstract member SetDirty : Nullable<TimeSpan> -> unit
Public Sub SetDirty (Optional maxDelay As Nullable(Of TimeSpan) = Nothing)
Parameters
Maximum delay before the cached value is marked as dirty. Default value is 30 seconds.
- Attributes
Applies to
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ