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