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 Constructor (Int32)

 

Initializes a new instance of the TimeoutAttribute class.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public TimeoutAttribute(
	int timeout
)

Parameters

timeout
Type: System.Int32

The time-out period of a unit test. This is measured in milliseconds.

Return to top
Show: