DefaultSettingsSection.Timeout Property
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.
Gets or sets a default time after which a transaction times out.
public:
property TimeSpan Timeout { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("timeout", DefaultValue="00:01:00")]
[System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")]
public TimeSpan Timeout { get; set; }
[<System.Configuration.ConfigurationProperty("timeout", DefaultValue="00:01:00")>]
[<System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")>]
member this.Timeout : TimeSpan with get, set
Public Property Timeout As TimeSpan
A TimeSpan object. The default property is 00:01:00.
- Attributes
An attempt to set this property to negative values.
This property retrieves its value from the default timeout value in the config file. It is automatically adjusted by the MaxTimeout value at runtime.
A value of 00:00:00 (or zero) is interpreted as infinity.
Proizvod | Verzije |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: