Share via


TestElement.Timeout Property

Gets or sets the number of seconds before the execution of this test element times out.

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

Syntax

'Declaration
<PropertyWindowAttribute(PropertyEditorType.NoEditor, PropertyConverterType.TimeoutConverter)> _
Public Overridable Property Timeout As Integer
'Usage
Dim instance As TestElement 
Dim value As Integer 

value = instance.Timeout

instance.Timeout = value
[PropertyWindowAttribute(PropertyEditorType.NoEditor, PropertyConverterType.TimeoutConverter)]
public virtual int Timeout { get; set; }
[PropertyWindowAttribute(PropertyEditorType::NoEditor, PropertyConverterType::TimeoutConverter)]
public:
virtual 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 number of seconds before the execution of this test element times out.

Implements

ITestElement.Timeout

.NET Framework Security

See Also

Reference

TestElement Class

TestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace