Método ApplicationUnderTest.Launch (ProcessStartInfo)

Inicia o aplicativo usando os parâmetros especificados.

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

Sintaxe

'Declaração
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

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.TestTools.UITesting.ApplicationUnderTest
O aplicativo foi iniciado.

Segurança do .NET Framework

Consulte também

Referência

ApplicationUnderTest Classe

Sobrecargas Launch

Namespace Microsoft.VisualStudio.TestTools.UITesting