LaunchApplicationOnDeviceConnect

MBAE deprecation warning

Important

Starting in Windows 10, version 1803, the MBAE app experience is replaced by an MO UWP app. For more information about MO UWP apps, see UWP mobile broadband apps.

The LaunchApplicationOnDeviceConnect element specifies an app that should appear as the recommended AutoPlay action when a user plugs in the device.

Usage

<LaunchApplicationOnDeviceConnect>
  child elements
</LaunchApplicationOnDeviceConnect>

Attributes

There are no attributes.

Child elements

Element Description

AutoplayHandler

Specifies a UWP device app that should appear as the recommended AutoPlay action when a user plugs in a device.

DesktopAutoplayHandler

Specifies a desktop app that should appear as the recommended AutoPlay action when a user plugs in a device.

Parent elements

Element Description

WindowsInfo

The parent element of the WindowsInfo XML schema.

XSD

<xs:element name="LaunchApplicationOnDeviceConnect" type ="tns:LaunchApplicationOnDeviceConnectType" />

<xs:complexType name="LaunchApplicationOnDeviceConnectType">
    <xs:choice>
      <xs:element name="AutoplayHandler" type="tns:AutoplayHandlerType" />
      <xs:element name="DesktopAutoplayHandler" type="xs:string" />
      <xs:any namespace="##other" processContents="lax" />
    </xs:choice>
  </xs:complexType>

Remarks

You must specify either a UWP device app or a desktop app. Use AutoplayHandler if you will specify a UWP device app, and use DesktopAutoplayHandler if you specify a desktop application.

The LaunchApplicationOnDeviceConnect element is optional.