0 out of 1 rated this helpful - Rate this topic

BackgroundTaskBuilder.Register | register method

Registers a background task with the system.

Syntax


var backgroundTaskRegistration = backgroundTaskBuilder.register();

Parameters

This method has no parameters.

Return value

Type: BackgroundTaskRegistration

An instance of a BackgroundTaskRegistration object.

Remarks

The task must have an event trigger and a task entry point for the Register method to succeed. The system schedules the background task when its trigger event occurs and all of its conditions have been met.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

See also

BackgroundTaskBuilder

 

 

Build date: 12/4/2012

© 2013 Microsoft. All rights reserved.