Επεξεργασία

Κοινή χρήση μέσω


WebProxyScriptElement.AutoConfigUrlRetryInterval Property

Definition

Gets or sets a value that defines the frequency (in seconds) that the WinHttpAutoProxySvc service attempts to retry the download of an AutoConfigUrl script.

public:
 property int AutoConfigUrlRetryInterval { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("autoConfigUrlRetryInterval", DefaultValue=600)]
public int AutoConfigUrlRetryInterval { get; set; }
[<System.Configuration.ConfigurationProperty("autoConfigUrlRetryInterval", DefaultValue=600)>]
member this.AutoConfigUrlRetryInterval : int with get, set
Public Property AutoConfigUrlRetryInterval As Integer

Property Value

the frequency (in seconds) that the WinHttpAutoProxySvc service attempts to retry the download of an AutoConfigUrl script.

Attributes

Remarks

Starting with .NET Framework 4.8, the WinHttpAutoProxySvc service attempts to download an AutoConfigUrl script if the initial attempt fails. By default, its value is 600 seconds (10 minutes).

In previous versions of the .NET Framework, the runtime is not notified of the failure to download the script, nor is the download retried. You can restore the previous behavior by setting the value of this property to 0.

Applies to