XamlWindow.Launch Method
Launches the XAML application using given Package Family Name as if the app is not in running/suspended state even if it is.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public Shared Function Launch ( _
appPackageFamilyName As String _
) As XamlWindow
public static XamlWindow Launch(
string appPackageFamilyName
)
public:
static XamlWindow^ Launch(
String^ appPackageFamilyName
)
static member Launch :
appPackageFamilyName:string -> XamlWindow
public static function Launch(
appPackageFamilyName : String
) : XamlWindow
Parameters
appPackageFamilyName
Type: StringPackage Family Name of the Windows Store Application
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlWindow
XamlWindow corresponding to the XAML application
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls Namespace