Starts the application by using specified parameters.
Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Function Launch ( _
    startInfo As ProcessStartInfo _
) As ApplicationUnderTest
public static ApplicationUnderTest Launch(
    ProcessStartInfo startInfo
)
public:
static ApplicationUnderTest^ Launch(
    ProcessStartInfo^ startInfo
)
static member Launch : 
        startInfo:ProcessStartInfo -> ApplicationUnderTest
public static function Launch(
    startInfo : ProcessStartInfo
) : ApplicationUnderTest
Parameters
- startInfo 
 Type: ProcessStartInfo- The process start information. 
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.ApplicationUnderTest
The application that was started.
.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.