Share via


WebUIBackgroundTaskInstance Classe

Définition

Représente une instance d’une tâche en arrière-plan qui a été déclenchée pour s’exécuter.

Une tâche en arrière-plan doit appeler explicitement la méthode de fermeture des web Workers pour se terminer une fois la tâche terminée.

public ref class WebUIBackgroundTaskInstance abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebUIBackgroundTaskInstance final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public static class WebUIBackgroundTaskInstance
Public Class WebUIBackgroundTaskInstance
Héritage
Object Platform::Object IInspectable WebUIBackgroundTaskInstance
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)

Remarques

Notes

Cette classe n’est pas agile, ce qui signifie que vous devez prendre en compte son modèle de thread et son comportement de marshaling. Pour plus d’informations, consultez Threading and Marshaling (C++/CX) .

Propriétés

Current

Obtient la tâche en arrière-plan actuelle.

S’applique à

Voir aussi