Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Team Test API
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)

Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple:=False)> _
Public NotInheritable Class TimeoutAttribute
	Inherits Attribute
Visual Basic (Usage)
Dim instance As TimeoutAttribute
C#
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false)] 
public sealed class TimeoutAttribute : Attribute
C++
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple=false)] 
public ref class TimeoutAttribute sealed : public Attribute
J#
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false) */ 
public final class TimeoutAttribute extends Attribute
JScript
AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false) 
public final class TimeoutAttribute extends Attribute

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.

System.Object
   System.Attribute
    Microsoft.VisualStudio.TestTools.WebTesting.TimeoutAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker