Partager 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 Overrides Sub Close
public override void Close()
public:
virtual void Close() override
abstract Close : unit -> unit  
override Close : unit -> unit
public override 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