WebUIBackgroundTaskInstance Klasse

Definition

Stellt eine instance einer Hintergrundaufgabe dar, die für die Ausführung ausgelöst wurde.

Eine Hintergrundaufgabe muss explizit die Close-Methode von Web Worker aufrufen, um sich selbst zu beenden, nachdem die Aufgabe abgeschlossen wurde.

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
Vererbung
Object Platform::Object IInspectable WebUIBackgroundTaskInstance
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

Hinweis

Diese Klasse ist nicht agil, was bedeutet, dass Sie das Threadingmodell und das Marshallverhalten berücksichtigen müssen. Weitere Informationen finden Sie unter Threading und Marshalling (C++/CX).

Eigenschaften

Current

Ruft die aktuelle Hintergrundaufgabe ab.

Gilt für:

Weitere Informationen