WebUIBackgroundTaskInstanceRuntimeClass.Succeeded Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property bool Succeeded { bool get(); void set(bool value); };
bool Succeeded();
void Succeeded(bool succeeded);
public bool Succeeded { get; set; }
var boolean = webUIBackgroundTaskInstanceRuntimeClass.succeeded;
webUIBackgroundTaskInstanceRuntimeClass.succeeded = boolean;
Public Property Succeeded As Boolean
Property Value
Boolean
bool
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.