Condividi tramite


BackgroundActivatedEventArgs.TaskInstance Proprietà

Definizione

Ottenere i dati disponibili per il metodo IBackgroundTask.Run che ha generato l'attivazione dell'app.

public:
 property IBackgroundTaskInstance ^ TaskInstance { IBackgroundTaskInstance ^ get(); };
IBackgroundTaskInstance TaskInstance();
public IBackgroundTaskInstance TaskInstance { get; }
var iBackgroundTaskInstance = backgroundActivatedEventArgs.taskInstance;
Public ReadOnly Property TaskInstance As IBackgroundTaskInstance

Valore della proprietà

IBackgroundTaskInstance che ha attivato l'app.

Implementazioni

Si applica a