MobileBroadbandDeviceServiceNotificationTrigger 类

定义

表示在网络发送 SIM 工具命令时激活的触发器。 接收此通知的应用随后会处理 SIM 工具命令。

此功能仅适用于移动运营商应用和 UWP 应用,前提是移动网络运营商具有特权访问权限。 有关详细信息,请参阅 移动宽带

public ref class MobileBroadbandDeviceServiceNotificationTrigger sealed : IBackgroundTrigger
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MobileBroadbandDeviceServiceNotificationTrigger final : IBackgroundTrigger
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class MobileBroadbandDeviceServiceNotificationTrigger final : IBackgroundTrigger
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MobileBroadbandDeviceServiceNotificationTrigger : IBackgroundTrigger
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MobileBroadbandDeviceServiceNotificationTrigger : IBackgroundTrigger
function MobileBroadbandDeviceServiceNotificationTrigger()
Public NotInheritable Class MobileBroadbandDeviceServiceNotificationTrigger
Implements IBackgroundTrigger
继承
Object Platform::Object IInspectable MobileBroadbandDeviceServiceNotificationTrigger
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

激活此触发器时,后台任务的 IBackgroundTaskInstance.TriggerDetailsMobileBroadbandDeviceServiceTriggerDetails 实例。

构造函数

MobileBroadbandDeviceServiceNotificationTrigger()

构造 MobileBroadbandDeviceServiceNotificationTrigger 对象。

此功能仅适用于移动运营商应用和 UWP 应用,前提是移动网络运营商具有特权访问权限。 有关详细信息,请参阅 移动宽带

适用于

另请参阅