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
System.EventArgs
Microsoft.Phone.Tasks.TaskEventArgs
Microsoft.Phone.Tasks.PhoneNumberResult
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
The PhoneNumberResult type exposes the following members.
| Name | Description | |
|---|---|---|
|
PhoneNumberResult() | Initializes a new instance of the PhoneNumberResult class. |
|
PhoneNumberResult(TaskResult) | Initializes a new instance of the PhoneNumberResult class with the specified TaskResult. |
| Name | Description | |
|---|---|---|
|
DisplayName | Gets the display name associated with the phone number selected by the user. |
|
Error | The exception associated with the TaskEventArgs. (Inherited from TaskEventArgs.) |
|
PhoneNumber | Gets the phone number selected by the user. |
|
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.) |