This topic has not yet been rated - Rate this topic

TaskEventArgs Class

Windows Phone

March 22, 2012

The EventArgs used by the Completed event for all Choosers.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public class TaskEventArgs : EventArgs

The TaskEventArgs type exposes the following members.

  Name Description
Public method TaskEventArgs() Initializes a new instance of the TaskEventArgs class.
Public method TaskEventArgs(TaskResult) Initializes a new instance of the TaskEventArgs class with the specified TaskResult.
Top
  Name Description
Public property Error The exception associated with the TaskEventArgs.
Public property TaskResult 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.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Did you find this helpful?
(1500 characters remaining)