This documentation is archived and is not being maintained.

TimeoutAttribute Constructor

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
)
public TimeoutAttribute (
	int timeout
)
public function TimeoutAttribute (
	timeout : int
)

Parameters

timeout

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

Show: