MobileBroadbandRegistrationStateChangeTrigger 类

定义

表示指示移动宽带注册状态何时更改的触发器。 例如,当移动设备转换到漫游或从漫游转换时,此触发器将激活。

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

public ref class MobileBroadbandRegistrationStateChangeTrigger 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 MobileBroadbandRegistrationStateChangeTrigger 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 MobileBroadbandRegistrationStateChangeTrigger 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 MobileBroadbandRegistrationStateChangeTrigger : 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 MobileBroadbandRegistrationStateChangeTrigger : IBackgroundTrigger
function MobileBroadbandRegistrationStateChangeTrigger()
Public NotInheritable Class MobileBroadbandRegistrationStateChangeTrigger
Implements IBackgroundTrigger
继承
Object Platform::Object IInspectable MobileBroadbandRegistrationStateChangeTrigger
属性
实现

Windows 要求

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

注解

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

构造函数

MobileBroadbandRegistrationStateChangeTrigger()

创建 MobileBroadbandRegistrationStateChangeTrigger 对象。

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

适用于

另请参阅