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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.