Freigeben über


TestElement.Timeout-Eigenschaft

Ruft die Anzahl von Sekunden bis zum Timeout dieser Testelementausführung ab oder legt diese fest.

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)

Eigenschaftswert

Typ: Int32
Die Anzahl von Sekunden bis zum Timeout dieser Testelementausführung.

Implementiert

ITestElement.Timeout

.NET Framework-Sicherheit

Siehe auch

Referenz

TestElement Klasse

Microsoft.VisualStudio.TestTools.Common-Namespace