Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 962 Bytes

appresourcegroupbackgroundtaskreport_trigger.md

File metadata and controls

31 lines (22 loc) · 962 Bytes
-api-id -api-type
P:Windows.System.AppResourceGroupBackgroundTaskReport.Trigger
winrt property

Windows.System.AppResourceGroupBackgroundTaskReport.Trigger

-description

Gets the name of the trigger that activated this task.

-property-value

The name of the trigger.

-remarks

If the task is activated by a trigger, then this will be the trigger type name; otherwise it will be an internally-generated string that identifies the activation behavior. For example, the trigger string would be "Windows.ApplicationModel.Background.ActivitySensorTrigger" if an app set a background task trigger in code like this:

var builder = new Windows.ApplicationModel.Background.BackgroundTaskBuilder;
builder.SetTrigger(new Windows.ApplicationModel.Background.ActivitySensorTrigger(50));

-see-also

-examples

-capabilities

appDiagnostics