TaskEventArgs.TaskResult Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The TaskResult associated with the TaskEventArgs. This indicates whether the task was completed successfully, if the user cancelled the task, or if no result information is available.

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

Syntax

Public Overridable Property TaskResult As TaskResult
public virtual TaskResult TaskResult { get; internal set; }

Property Value

Type: Microsoft.Phone.Tasks..::.TaskResult
One of the enumeration values that specifies the status of the task.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

TaskEventArgs Class

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8