Share via


WebTestRequest.Timeout Property

Gets or sets a value that indicates the amount of time to wait for this request before timing out.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property Timeout As Integer
'Usage
Dim instance As WebTestRequest 
Dim value As Integer 

value = instance.Timeout

instance.Timeout = value
public int Timeout { get; set; }
public:
property int Timeout {
    int get ();
    void set (int value);
}
public function get Timeout () : int 
public function set Timeout (value : int)

Property Value

Type: System.Int32
The time to wait before timing out. The default value is 0.

Remarks

This value represents time in seconds.

.NET Framework Security

See Also

Reference

WebTestRequest Class

WebTestRequest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace