Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TimeoutAttribute Class

 

Use this attribute to specify the time-out period of a Web performance test.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

System.Object
  System.Attribute
    Microsoft.VisualStudio.TestTools.WebTesting.TimeoutAttribute

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public sealed class TimeoutAttribute : Attribute

NameDescription
System_CAPS_pubmethodTimeoutAttribute(Int32)

Initializes a new instance of the TimeoutAttribute class.

NameDescription
System_CAPS_pubpropertyTimeout

Gets the time-out period for a test.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: