|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
When overridden in a derived class, begins a timer with the specified name.
Assembly: Microsoft.VisualStudio.SmartDevice.UnitTestFramework (in Microsoft.VisualStudio.SmartDevice.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.