MobileBroadbandRegistrationStateChangeTrigger Class

Definition

Represents a trigger that indicates when mobile broadband registration state has changed. For example, this trigger activates when a mobile device transitions to or from Roaming.

This functionality is available only to mobile operator apps and UWP app given privileged access by mobile network operators. For more information, see Mobile broadband.

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
Inheritance
Object Platform::Object IInspectable MobileBroadbandRegistrationStateChangeTrigger
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

When this trigger activates, the IBackgroundTaskInstance.TriggerDetails for the background task is a MobileBroadbandNetworkRegistrationStateChangeTriggerDetails instance.

Constructors

MobileBroadbandRegistrationStateChangeTrigger()

Creates a MobileBroadbandRegistrationStateChangeTrigger object.

This functionality is available only to mobile operator apps and UWP app given privileged access by mobile network operators. For more information, see Mobile broadband.

Applies to

See also