DefaultSettingsSection.Timeout Eigenschap

Definitie

Hiermee wordt een standaardtijd opgehaald of ingesteld waarna er een time-out optreedt voor een transactie.

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

Waarde van eigenschap

Een TimeSpan-object. De standaardeigenschap is 00:01:00.

Kenmerken

Uitzonderingen

Een poging om deze eigenschap in te stellen op negatieve waarden.

Opmerkingen

Met deze eigenschap wordt de waarde opgehaald uit de standaardtime-outwaarde in het configuratiebestand. Deze wordt automatisch aangepast door de MaxTimeout waarde tijdens runtime.

Een waarde van 00:00:00 (of nul) wordt geïnterpreteerd als oneindig.

Van toepassing op