DbBatch.Timeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the wait time (in seconds) before terminating the attempt to execute the batch and generating an error.
public:
abstract property int Timeout { int get(); void set(int value); };
public abstract int Timeout { get; set; }
member this.Timeout : int with get, set
Public MustOverride Property Timeout As Integer
Property Value
The time in seconds to wait for the batch to execute.
Remarks
An ArgumentException is generated if the assigned Timeout property value is less than 0.
Note to implementers: it's recommended that 0 mean no timeout.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.