Share via


MachineSettingsSection.MaxTimeout プロパティ

定義

トランザクションがタイムアウトするまでの最大許容時間を取得します。

public:
 property TimeSpan MaxTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("maxTimeout", DefaultValue="00:10:00")]
[System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")]
public TimeSpan MaxTimeout { get; set; }
[<System.Configuration.ConfigurationProperty("maxTimeout", DefaultValue="00:10:00")>]
[<System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")>]
member this.MaxTimeout : TimeSpan with get, set
Public Property MaxTimeout As TimeSpan

プロパティ値

最大許容時間を格納している TimeSpan オブジェクト。 既定値は、00:10:00 です。

属性

例外

このプロパティを負の値に設定しようとしました。

注釈

このプロパティは、machine.config ファイルでのみ設定できます。 値 00:00:00 (または 0) は無限大として解釈されます。

適用対象