Bewerken

Delen via


Application (WindowsInfo)

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 Application element specifies the application ID for the app.

Usage

<Application Id=”tns:ApplicationIdType” />

Attributes

Attribute Type Required Description

Id

tns:ApplicationIdType

Yes

The application ID. Copy this value from the app manifest, as described in Remarks..

Child elements

There are no child elements.

Parent elements

Element Description

AutoplayHandler

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

XSD

<xs:element name="Application" type="tns:ApplicationType" />

<xs:complexType name="ApplicationType">
  <xs:attribute name="Id" type="tns:ApplicationIdType" use="required"/>
</xs:complexType>

<xs:simpleType name="ApplicationIdType">
  <xs:restriction base="tns:AsciiWindowsIdType">
    <xs:maxLength value="64"/>
  </xs:restriction>
</xs:simpleType>

Remarks

The structure for the Application element correspond to the structure of the <Application> element in an app manifest. Copy the value of the Id value from the Id attribute in the app manifest.

Here is an example of how the <Applications> element may be structured inside an app manifest:

<Applications>
  <Application Id="DeviceAppForPrinters" Executable="$targetnametoken$.exe" EntryPoint="DeviceAppForPrinters.App">
</Application>
</Applications>

The Application element is optional.