-api-id | -api-type |
---|---|
P:Windows.UI.WebUI.WebUIBackgroundTaskInstanceRuntimeClass.Succeeded |
winrt property |
Gets or sets the success value for the background task. The success value is what is returned to the foreground instance of your app in the completed event.
An app can set this property to false to indicate that the background task has failed. Otherwise this property is always true.
Note
Once the background task sets this property and has therefore completed its work, the task must explicitly call the Web Workers close method to terminate itself.