TimeoutAttribute Class
Use this attribute to specify the time-out period of a Web test.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public NotInheritable Class TimeoutAttribute _
Inherits Attribute
'Usage
Dim instance As TimeoutAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public sealed class TimeoutAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class TimeoutAttribute sealed : public Attribute
public final class TimeoutAttribute extends Attribute
Remarks
The timeout value is measured in milliseconds. You can specify this attribute on a class. You can specify only one instance of this attribute to a class.
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.VisualStudio.TestTools.WebTesting.TimeoutAttribute
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace