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

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

See Also

UITestInterpreterCore Class
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace

Return to top