Bewerken

Delen via


AllowTethering

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 AllowTethering element specifies whether the user is always allowed, never allowed, or allowed after an entitlement check to use Internet sharing.

Note

If this element is configured to allow after an entitlement check, you must specify a DeviceNotificationHandler in your app that will handle the entitlement check.

Usage

<AllowTethering>
  text
</AllowTethering>

Attributes

There are no attributes.

Text value

A string indicating whether Internet sharing is always allowed, never allowed, or allowed after an entitlement check.

Child elements

There are no child elements.

Parent elements

Element Description
NetworkConfiguration Specifies the purchase and Internet mobile broadband profiles to be used or whether standard user can perform PIN unlock operations.

XSD

<xs:element name="name="AllowTethering" type="tns:TetheringAllowedType" minOccurs="0" />

<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>

Remarks

This element is only applicable to Windows 8.1 and Windows 10.

The AllowTethering element is optional.