DefaultSettingsSection.Timeout DefaultSettingsSection.Timeout DefaultSettingsSection.Timeout DefaultSettingsSection.Timeout Property

Definition

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=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")]
public TimeSpan Timeout { get; set; }
member this.Timeout : TimeSpan with get, set
Public Property Timeout As TimeSpan

Property Value

A TimeSpan object. The default property is 00:01:00.

Exceptions

Remarks

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.

Applies to