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: Int32The time-out period of a test, measured in milliseconds.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.