BackgroundTaskBuilder.TaskGroup 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.
Gets and sets the group identifier.
public:
property BackgroundTaskRegistrationGroup ^ TaskGroup { BackgroundTaskRegistrationGroup ^ get(); void set(BackgroundTaskRegistrationGroup ^ value); };
BackgroundTaskRegistrationGroup TaskGroup();
void TaskGroup(BackgroundTaskRegistrationGroup value);
public BackgroundTaskRegistrationGroup TaskGroup { get; set; }
var backgroundTaskRegistrationGroup = backgroundTaskBuilder.taskGroup;
backgroundTaskBuilder.taskGroup = backgroundTaskRegistrationGroup;
Public Property TaskGroup As BackgroundTaskRegistrationGroup
Property Value
The group identifier.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Examples
Background Task code sample See scenario 6 for a grouped task example.
Remarks
To reduce collisions with other group identifiers, consider including your domain name in the group identifier. For example: "com.contoso.appname.tasks"
. Or use the string form of a GUID.