LaunchApplicationOnDeviceConnect element
The LaunchApplicationOnDeviceConnect element specifies an application that should appear as the recommended AutoPlay action when the device is connected and no default action is set whenever the device transitions from a disconnected state to a connected state, such as when the user plugs in the device.
This element is optional.
Usage
<LaunchApplicationOnDeviceConnect>
child elements
</LaunchApplicationOnDeviceConnect>
Attributes
There are no attributes.
Child elements
Element | Description |
---|---|
Optional. Specifies a Windows Store device app that should appear as the recommended AutoPlay action when the device is connected and no default action is set whenever the device transitions from a disconnected state to a connected state, such as when the user plugs in the device. |
|
Optional. Specifies a desktop application that should appear as the recommended AutoPlay action when the device is connected and no default action is set whenever the device transitions from a disconnected state to a connected state, such as when the user plugs in the device. |
Child element sequence
AutoplayHandlerDesktopAutoplayHandler
Parent elements
Element | Description |
---|---|
The WindowsInfo element is the parent element of the WindowsInfo XML schema. |
XSD
<!-- LaunchApplicationOnDeviceConnectType Definition-->
<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
When you specify the LaunchApplicationOnDeviceConnect element, you will specify either a Windows Store device app or a Desktop Application. Use AutoplayHandler if you will specify a Windows Store device app, and use DesktopAutoplayHandler if you specify a Desktop Application.
Element information
Minimum supported system |
Windows 8 |
Can be empty | No |
See also