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
- startInfo
Tipo: System.Diagnostics.ProcessStartInfo
As informações de início do processo.
Valor de retorno
Tipo: Microsoft.VisualStudio.TestTools.UITesting.ApplicationUnderTest
O aplicativo foi iniciado.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiáveis.