Share via


TimeoutAttribute Constructor

Initializes a new instance of the TimeoutAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    timeout As Integer _
)
public TimeoutAttribute(
    int timeout
)
public:
TimeoutAttribute(
    int timeout
)
new : 
        timeout:int -> TimeoutAttribute
public function TimeoutAttribute(
    timeout : int
)

Parameters

  • timeout
    Type: Int32

    The time-out period of a test, measured in milliseconds.

.NET Framework Security

See Also

Reference

TimeoutAttribute Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace