ResourceIntensiveTask Constructor

July 28, 2014

Initializes a new instance of the ResourceIntensiveTask class.

Namespace:  Microsoft.Phone.Scheduler
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

'Declaration
Public Sub New ( _
	name As String _
)

Parameters

name
Type: System.String
The name of the resource-intensive task.

ExceptionCondition
ArgumentNullException

The name string cannot be null.

ArgumentOutOfRangeException

The name string cannot be zero length. The maximum length of the content string is 63 characters. The string can contain only printable ASCII characters (character values between 32 and 126).

Caution noteCaution:

For Scheduled Tasks, the Description property is required and must be set prior to calling Add(ScheduledAction) or an exception will be thrown.

The maximum length of the name string is 63 characters. The string can contain only printable ASCII characters (character values between 32 and 126).

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft