共用方式為


FileConfigurationSource.ReloadDelay Property

Definition

Gets or sets the number of milliseconds that reload will wait before calling Load.

public:
 property int ReloadDelay { int get(); void set(int value); };
public int ReloadDelay { get; set; }
member this.ReloadDelay : int with get, set
Public Property ReloadDelay As Integer

Property Value

The number of milliseconds that reload waits before calling Load. The default is 250.

Remarks

This delay helps avoid triggering reload before a file is completely written.

Applies to