Share via


ObjectContext.CommandTimeout Property

Definition

Gets or sets the timeout value, in seconds, for all object context operations. A null value indicates that the default value of the underlying provider will be used.

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

Property Value

An Int32 value that is the timeout value, in seconds.

Exceptions

The timeout value is less than 0.

Applies to