ApplicationUnderTest.Dispose Method

Releases all resources that are used by the ApplicationUnderTest.

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

Syntax

'Declaration
Public Sub Dispose
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit  
override Dispose : unit -> unit
public final function Dispose()

Implements

IDisposable.Dispose

Remarks

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

.NET Framework Security

See Also

Reference

ApplicationUnderTest Class

Dispose Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace