Share via


UITestInterpreterCore.Cancel Method

Cancels the execution (that is, interpretation) of the current step or test. This call blocks until the UITest execution is canceled and playback returns. This must be called from a different thread from the thread that is executing the UITest.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Overridable Sub Cancel
public virtual void Cancel()
public:
virtual void Cancel()
abstract Cancel : unit -> unit  
override Cancel : unit -> unit
public function Cancel()

.NET Framework Security

See Also

Reference

UITestInterpreterCore Class

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace