Share via


ApplicationUnderTest.Close Method

Closes the application that is under test.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

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

Remarks

Disposes all resources. If the underlying process is owned by this instance, the underlying process is disposed also.

.NET Framework Security

See Also

Reference

ApplicationUnderTest Class

Microsoft.VisualStudio.TestTools.UITesting Namespace