IBackgroundTaskRegistration Interface

Définition

Fournit l’accès à une tâche en arrière-plan inscrite.

public interface class IBackgroundTaskRegistration
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(275074242, 41582, 17343, 140, 18, 31, 180, 13, 191, 191, 160)]
struct IBackgroundTaskRegistration
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(275074242, 41582, 17343, 140, 18, 31, 180, 13, 191, 191, 160)]
public interface IBackgroundTaskRegistration
Public Interface IBackgroundTaskRegistration
Dérivé
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

Propriétés

Name

Obtient le nom d’une tâche en arrière-plan inscrite.

TaskId

Obtient l’identificateur d’une tâche en arrière-plan inscrite.

Méthodes

Unregister(Boolean)

Annule l’inscription d’une tâche en arrière-plan inscrite.

Événements

Completed

Joint un gestionnaire d’événements terminé à la tâche en arrière-plan inscrite.

Progress

Attache un gestionnaire d’événements de progression à la tâche en arrière-plan inscrite.

S’applique à