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
- 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.