共用方式為


MobileBroadbandInfo XML 架構定義

MBAE 取代警告

重要

從 Windows 10 1803 版開始,MBAE 應用程式體驗會由 MO UWP 應用程式取代。 如需MO UWP 應用程式的詳細資訊,請參閱 UWP行動寬頻應用程式

以下是MobileBroadbandInfo XML 架構的命名空間:

http://schemas.microsoft.com/windows/2010/12/DeviceMetadata/MobileBroadbandInfo

以下是MobileBroadbandInfo架構的定義。

<?xml version="1.0" encoding ="UTF-8" ?>

<xs:schema
    targetNamespace="http://schemas.microsoft.com/windows/2010/12/DeviceMetadata/MobileBroadbandInfo"
    xmlns:tns="http://schemas.microsoft.com/windows/2010/12/DeviceMetadata/MobileBroadbandInfo"
    xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" blockDefault="#all">

  <!-- root node -->
  <xs:element name="MobileBroadbandInfo" type="tns:MobileBroadbandInfoType"/>

  <!-- Tethering Enumeration Type -->
  <xs:simpleType name="TetheringAllowedType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Never"/>
      <xs:enumeration value="Always"/>
      <xs:enumeration value="EntitlementCheckRequired"/>
    </xs:restriction>  
  </xs:simpleType>  

  <!-- mobile broadband information -->
  <xs:complexType name="MobileBroadbandInfoType">
    <xs:sequence>
      <xs:element name="NetworkConfiguration" type="tns:NetworkConfigType" minOccurs="0"/>
      <xs:element name="ProvisioningEngine" type="tns:ProvisioningEngineType" minOccurs="0"/>
      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>

  <!-- data for network configuration -->
  <xs:complexType name="NetworkConfigType">
    <xs:sequence>
      <xs:element name="MobileBroadbandProfiles" type="tns:MobileBroadbandProfilesType" minOccurs="0"/>
      <xs:element name="AllowStandardUserPinUnlock" type="xs:boolean" minOccurs="0"/>
      <xs:element name="AllowTethering" type="tns:TetheringAllowedType" minOccurs="0"/>
      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>

  <!-- mobile broadband profiles -->
  <xs:complexType name="MobileBroadbandProfilesType">
    <xs:sequence>
      <xs:element name="Purchase" type="tns:FileType" minOccurs="0"/>
      <xs:element name="Internet" type="tns:FileType" minOccurs="0"/>
      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>

  <!-- file name without path -->
  <!-- allowed characters: unicode letters, unicode digits, ascii period, ascii dash, ascii underscore, ascii space -->
  <xs:simpleType name="FileType">
    <xs:restriction base="xs:string">
      <xs:whiteSpace value="preserve"/>
      <xs:pattern value="[\p{L}\p{N}\.\-_ ]+" />  <!-- XML schema always implicitly anchors the entire regular expression -->
      <xs:minLength value="1"/>
      <xs:maxLength value="260"/>
    </xs:restriction>
  </xs:simpleType>

  <!-- data for the provisioning engine -->
  <xs:complexType name="ProvisioningEngineType">
    <xs:sequence>
      <xs:element name="TrustedCertificates" type="tns:TrustedCertificateListType" minOccurs="0"/>
      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>

  <!-- list of trusted provisioning signing certificates -->
  <xs:complexType name="TrustedCertificateListType">
    <xs:sequence>
      <xs:element name="TrustedCertificate" type="tns:TrustedCertificateType" minOccurs="0" maxOccurs="256"/>
      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>

  <!-- a single trusted provisioning signing certificate -->
  <xs:complexType name="TrustedCertificateType">
    <xs:sequence>
      <xs:element name="SubjectName" type="xs:string" />
      <xs:element name="IssuerName" type="xs:string" />
      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>

</xs:schema>