TestContext.EndTimer Method
When overridden in a derived class, ends a timer with the specified name.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public MustOverride Sub EndTimer ( _
timerName As String _
)
public abstract void EndTimer(
string timerName
)
public:
virtual void EndTimer(
String^ timerName
) abstract
abstract EndTimer :
timerName:string -> unit
public abstract function EndTimer(
timerName : String
)
Parameters
timerName
Type: StringThe name of the timer to end.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UnitTesting Namespace