When overridden in a derived class, begins a timer with the specified name.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
A timer can be useful when a unit test is run in the context of a load test. In this case, the time between the calls to and EndTimer for a given timerName are reported as transaction times in the load test results.
- 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.