The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public virtual void Cancel()
Return to top