ProfileMediaType 枚举

定义

介绍预配的网络连接配置文件的网络类型。

注意

此功能仅适用于由移动网络运营商授予特权访问权限的移动运营商应用和 UWP 应用。

如果要使用此 API 并将应用发布到 Microsoft Store,则需要获得特殊批准。 有关详细信息,请参阅应用功能声明主题中的受限功能部分。

public enum class ProfileMediaType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ProfileMediaType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ProfileMediaType
var value = Windows.Networking.NetworkOperators.ProfileMediaType.wlan
Public Enum ProfileMediaType
继承
ProfileMediaType
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
cellularDeviceControl cellularDeviceIdentity

字段

Wlan 0

配置文件适用于无线局域网 (WLAN) 。

Wwan 1

配置文件适用于无线广域网 (WWAN) 。

适用于