This topic has not yet been rated - Rate this topic

PhoneNumberResult Class

July 26, 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.

  NameDescription
Public methodPhoneNumberResult()Initializes a new instance of the PhoneNumberResult class.
Public methodPhoneNumberResult(TaskResult)Initializes a new instance of the PhoneNumberResult class with the specified TaskResult.
Top
  NameDescription
Public propertyDisplayNameGets the display name associated with the phone number selected by the user.
Public propertyErrorThe exception associated with the TaskEventArgs. (Inherited from TaskEventArgs.)
Public propertyPhoneNumberGets the phone number selected by the user.
Public propertyTaskResultThe 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
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (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)
© 2013 Microsoft. All rights reserved.