This topic has not yet been rated - Rate this topic

SaveContactTask Class

Windows Phone

March 22, 2012

Provides methods and events for launching the contacts application and enabling a user to save a contact.

System.Object
  Microsoft.Phone.Tasks.ChooserBase<SaveContactResult>
    Microsoft.Phone.Tasks.SaveContactTask

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class SaveContactTask : ChooserBase<SaveContactResult>
<SaveContactTask .../>

The SaveContactTask type exposes the following members.

  Name Description
Public method SaveContactTask Initializes a new instance of the SaveContactTask class.
Top
  Name Description
Public property Company Gets or sets the name of the company associated with the contact.
Public property FirstName Gets or sets the given name of the contact.
Public property HomeAddressCity Gets or sets the city of the home address associated with the contact.
Public property HomeAddressCountry Gets or sets the country or region of the home address associated with the contact.
Public property HomeAddressState Gets or sets the state of the home address associated with the contact.
Public property HomeAddressStreet Gets or sets the street name and number of the home address associated with the contact.
Public property HomeAddressZipCode Gets or sets the postal code of the home address associated with the contact.
Public property HomePhone Gets or sets the home phone number associated with the contact.
Public property JobTitle Gets or sets the job title associated with the contact.
Public property LastName Gets or sets the surname of the contact.
Public property MiddleName Gets or sets the middle name of the contact.
Public property MobilePhone Gets or sets the mobile phone number associated with the contact.
Public property Nickname Gets or sets the nickname of the contact.
Public property Notes Gets or sets a note associated with the contact.
Public property OtherEmail Gets or sets an additional email address associated with the contact.
Public property PersonalEmail Gets or sets the personal email address associated with the contact.
Public property Suffix Gets or sets the suffix of the name of the contact.
Public property TaskEventArgs The EventArgs for the Completed event. (Inherited from ChooserBase<TTaskEventArgs>.)
Public property Title Gets or sets the title of the name of the contact.
Public property Website Gets or sets the website associated with the contact.
Public property WorkAddressCity Gets or sets the city of the work address associated with the contact.
Public property WorkAddressCountry Gets or sets the country or region of the work address associated with the contact.
Public property WorkAddressState Gets or sets the state of the work address associated with the contact.
Public property WorkAddressStreet Gets or sets the street name and number of the work address associated with the contact.
Public property WorkAddressZipCode Gets or sets the postal code of the work address associated with the contact.
Public property WorkEmail Gets or sets the work email address associated with the contact.
Public property WorkPhone Gets or sets the work phone number associated with the contact.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method FireCompleted Raises the Completed event. (Inherited from ChooserBase<TTaskEventArgs>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Show Launches the contacts application and enables the user to save a contact. (Overrides ChooserBase<TTaskEventArgs>.Show().)
Public method ToString (Inherited from Object.)
Top
  Name Description
Public event Completed Occurs when a Chooser task is completed. (Inherited from ChooserBase<TTaskEventArgs>.)
Top

This task is a Chooser. For more information, see Launchers and Choosers Overview for Windows Phone.

Windows Phone OS

Supported in: 7.1

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)