IBackgroundTaskInstance.Task Property

Definition

Gets access to the registered background task for this background task instance.

public:
 property BackgroundTaskRegistration ^ Task { BackgroundTaskRegistration ^ get(); };
BackgroundTaskRegistration Task();
public BackgroundTaskRegistration Task { get; }
var backgroundTaskRegistration = iBackgroundTaskInstance.task;
Public ReadOnly Property Task As BackgroundTaskRegistration

Property Value

An interface that provides access to the registered background task.

Applies to