Export (0) Print
Expand All

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)

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false)] 
public sealed class TimeoutAttribute : Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false) */ 
public final class TimeoutAttribute extends Attribute
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.

Community Additions

ADD
Show:
© 2015 Microsoft