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)> _
<UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F239}")> _
Public Overridable Property Timeout As Integer
[PropertyWindowAttribute(PropertyEditorType.NoEditor, PropertyConverterType.TimeoutConverter)]
[UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F239}")]
public virtual int Timeout { get; set; }
[PropertyWindowAttribute(PropertyEditorType::NoEditor, PropertyConverterType::TimeoutConverter)]
[UserVisiblePropertyAttribute(L"{8E14F374-EA8C-4c77-843B-B4075899F239}")]
public:
virtual property int Timeout {
    int get ();
    void set (int value);
}
[<PropertyWindowAttribute(PropertyEditorType.NoEditor, PropertyConverterType.TimeoutConverter)>]
[<UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F239}")>]
abstract Timeout : int with get, set
[<PropertyWindowAttribute(PropertyEditorType.NoEditor, PropertyConverterType.TimeoutConverter)>]
[<UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F239}")>]
override Timeout : int with get, set
function get Timeout () : int 
function set Timeout (value : int)

Property Value

Type: 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

Microsoft.VisualStudio.TestTools.Common Namespace