TestElement.Timeout 属性

获取或设置此测试元素执行超时前的秒数。

命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

语法

声明
<PropertyWindowAttribute(PropertyEditorType.NoEditor, PropertyConverterType.TimeoutConverter)> _
<UserVisiblePropertyAttribute("{8E14F374-EA8C-4c77-843B-B4075899F239}")> _
Public Overridable Property Timeout As Integer
    Get
    Set
[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)

属性值

类型:System.Int32
此测试元素执行超时前的秒数。

实现

ITestElement.Timeout

.NET Framework 安全性

请参见

参考

TestElement 类

Microsoft.VisualStudio.TestTools.Common 命名空间