IBackgroundTask Interface

Définition

Fournit une méthode pour effectuer le travail d’une tâche en arrière-plan.

public interface class IBackgroundTask
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2098451764, 64786, 17358, 140, 34, 234, 31, 241, 60, 6, 223)]
struct IBackgroundTask
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2098451764, 64786, 17358, 140, 34, 234, 31, 241, 60, 6, 223)]
public interface IBackgroundTask
Public Interface IBackgroundTask
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)

Méthodes

Run(IBackgroundTaskInstance)

Effectue le travail d’une tâche en arrière-plan. Le système appelle cette méthode lorsque la tâche en arrière-plan associée a été déclenchée.

S’applique à