Bagikan melalui


MobileBroadbandRegistrationStateChangeTrigger Kelas

Definisi

Mewakili pemicu yang menunjukkan kapan status pendaftaran broadband seluler telah berubah. Misalnya, pemicu ini diaktifkan saat perangkat seluler beralih ke atau dari Roaming.

Fungsionalitas ini hanya tersedia untuk aplikasi operator seluler dan aplikasi UWP yang diberikan akses istimewa oleh operator jaringan seluler. Untuk informasi selengkapnya, lihat Broadband seluler.

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
Warisan
Object Platform::Object IInspectable MobileBroadbandRegistrationStateChangeTrigger
Atribut
Penerapan

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Keterangan

Ketika pemicu ini diaktifkan, instans IBackgroundTaskInstance.TriggerDetails untuk tugas latar belakang adalah instans MobileBroadbandNetworkRegistrationStateChangeTriggerDetails .

Konstruktor

MobileBroadbandRegistrationStateChangeTrigger()

Membuat objek MobileBroadbandRegistrationStateChangeTrigger.

Fungsionalitas ini hanya tersedia untuk aplikasi operator seluler dan aplikasi UWP yang diberikan akses istimewa oleh operator jaringan seluler. Untuk informasi selengkapnya, lihat Broadband seluler.

Berlaku untuk

Lihat juga