desktop3:InvokeAction
Contains content and device information for invoking an AutoPlay action.
<desktop3:InvokeAction>
XML
<desktop3:InvokeAction
ActionDisplayName = 'A string with a value between 1 and 256 characters in length.'
ProviderDisplayName = 'A string with a value between 1 and 256 characters in length.'
DefaultIcon = 'An optional string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, %, ", |, ?, or *.' >
<!-- Child elements -->
( desktop3:Content{0,1000},
desktop3:Device{0,1000} )
</desktop3:InvokeAction>
{}
specific range of occurrences
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
ActionDisplayName | A string that represents the action that users can take with a device that they connect to a PC (For example: "Import files", or "Play video"). | A string with a value between 1 and 256 characters in length. | Yes | |
ProviderDisplayName | A string that represents your app or service (For example: "Contoso video player"). | A string with a value between 1 and 256 characters in length. | Yes | |
DefaultIcon | A path to either an .ico file or a resource in a binary file for the default icon. | An optional string with a value between 1 and 256 characters in length that cannot contain these characters: < , > , : , % , " , | , ? , or * . |
No |
Child element | Description |
---|---|
desktop3:Content | Defines the content information of an AutoPlayHandler. |
desktop3:Device | Defines the device information of an AutoPlayHandler. |
Parent element | Description |
---|---|
desktop3:AutoPlayHandler | Handler for AutoPlay, which can present your app as an option when a user connects a device to their PC. |
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/desktop/windows10/3 |
Minimum OS Version | Windows 10 version 1709 (Build 16299) |