This topic has not yet been rated - Rate this topic

PhoneNumberResult Class

Windows Phone

March 22, 2012

Represents a phone number returned from a call to the Show method of a PhoneNumberChooserTask object.

System.Object
  System.EventArgs
    Microsoft.Phone.Tasks.TaskEventArgs
      Microsoft.Phone.Tasks.PhoneNumberResult

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

The PhoneNumberResult type exposes the following members.

  Name Description
Public method PhoneNumberResult() Initializes a new instance of the PhoneNumberResult class.
Public method PhoneNumberResult(TaskResult) Initializes a new instance of the PhoneNumberResult class with the specified TaskResult.
Top
  Name Description
Public property DisplayName Gets the display name associated with the phone number selected by the user.
Public property Error The exception associated with the TaskEventArgs. (Inherited from TaskEventArgs.)
Public property PhoneNumber Gets the phone number selected by the user.
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. (Inherited from TaskEventArgs.)
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)