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
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple:=False)> _
Public NotInheritable Class TimeoutAttribute
Inherits Attribute
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
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false) */
public final class TimeoutAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false)
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

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