ObjectContext.CommandTimeout プロパティ

定義

すべてのオブジェクト コンテキスト操作のタイムアウト値の秒数を取得または設定します。 null 値は、基になるプロバイダーの既定値が使用されることを示します。

public virtual Nullable<int> CommandTimeout { get; set; }
member this.CommandTimeout : Nullable<int> with get, set
Public Overridable Property CommandTimeout As Nullable(Of Integer)

プロパティ値

タイムアウト値の秒数を表す Int32 値。

例外

タイムアウト値が 0 より小さい値です。

適用対象