10 out of 11 rated this helpful - Rate this topic

Microsoft.Phone.Tasks Namespace

July 26, 2012

This namespace allows applications to use Launchers and Choosers to provide a set of common tasks to their users, such as placing phone calls, sending email, and taking pictures.

  ClassDescription
Public classAddressChooserTaskAllows an application to launch the Contacts application. Use this to obtain the physical address of a contact selected by the user.
Public classAddressResultRepresents a physical address returned from a call to the Show() method.
Public classBingMapsDirectionsTaskAllows an application to launch the Bing Maps application, specifying a starting location or an ending location, or both, for which driving directions are displayed.
Public classBingMapsTaskAllows an application to launch the Bing Maps application centered at the location specified with the Center property or at the user’s current location. If SearchTerm is set, locations matching the search term are tagged on the map.
Public classCameraCaptureTaskAllows an application to launch the Camera application. Use this to allow users to take a photo from your application.
Public classChooserBase<TTaskEventArgs>The base class from which all Choosers are derived. This class exposes a common function for showing the Choosers and an event for handling the Chooser result.
Public classConnectionSettingsTaskAllows an application to launch a Settings dialog that allows the user to change the device’s network connection settings.
Public classEmailAddressChooserTaskAllows an application to launch the Contacts application. Use this to obtain the email address of a contact selected by the user.
Public classEmailComposeTaskAllows an application to launch the email application with a new message displayed. Use this to allow users to send email from your application.
Public classEmailResultRepresents an email address returned from a call to the Show method of a EmailAddressChooserTask object.
Public classGameInviteTaskAllows an application to show a game invite screen that allows the user to invite players to a multiplayer game session.
Public classLabeledMapLocationRepresents a geographic coordinate and an associated label that identifies it, such as the location of a business and the business name. This class is used with the BingMapsDirectionsTask class.
Public classMarketplaceDetailTaskAllows an application to launch the Windows Phone Marketplace client application and display the details page for the specified product.
Public classMarketplaceHubTaskAllows an application to launch the Windows Phone Marketplace client application.
Public classMarketplaceReviewTaskAllows an application to launch the Windows Phone Marketplace client application and display the review page for the specified product.
Public classMarketplaceSearchTaskAllows an application to launch the Windows Phone Marketplace client application and display the search results from the specified search terms.
Public classMediaPlayerLauncherAllows an application to launch the media player.
Public classPhoneCallTaskAllows an application to launch the Phone application. Use this to allow users to make a phone call from your application.
Public classPhoneNumberChooserTaskAllows an application to launch the Contacts application. Use this to obtain the phone number of a contact selected by the user.
Public classPhoneNumberResultRepresents a phone number returned from a call to the Show method of a PhoneNumberChooserTask object.
Public classPhotoChooserTaskAllows an application to launch the Photo Chooser application. Use this to allow users to select a photo.
Public classPhotoResultRepresents a photo returned from a call to the Show method of a PhotoChooserTask object or a CameraCaptureTask object.
Public classSaveContactResultContains the result of an attempt to save a contact.
Public classSaveContactTaskProvides methods and events for launching the contacts application and enabling a user to save a contact.
Public classSaveEmailAddressTaskAllows an application to launch the contacts application. Use this to allow users to save an email address from your application to a new or existing contact.
Public classSavePhoneNumberTaskAllows an application to launch the contacts application. Use this to allow users to save a phone number from your application to a new or existing contact.
Public classSaveRingtoneTaskEnables an application to launch the ringtones application. Use the SaveRingtoneTask to allow users to save a ringtone from your application to the system ringtones list.
Public classSearchTaskAllows an application to launch the Web Search application.
Public classShareLinkTaskAllows an application to launch a dialog that enables the user to share a link on the social networks of their choice.
Public classShareStatusTaskAllows an application to launch a dialog that enables the user to share a status message on the social networks of their choice.
Public classShareTaskBaseThe base class for the social network sharing APIs, ShareLinkTask and ShareStatusTask.
Public classSmsComposeTaskLaunches the Messaging application with a new SMS message displayed.
Public classTaskEventArgsThe EventArgs used by the Completed event for all Choosers.
Public classWebBrowserTaskAllows an application to launch the web browser application.
  EnumerationDescription
Public enumerationConnectionSettingsTypeLists the network connection settings types supported by ConnectionSettingsTask.
Public enumerationMarketplaceContentTypeDefines the list of content types that can be shown by the Windows Phone Marketplace client application. This enumeration is used by MarketplaceDetailTask, MarketplaceHubTask, and MarketplaceSearchTask.
Public enumerationMediaLocationTypeLists the data stores in which a media file can be stored. Used by MediaPlayerLauncher.
Public enumerationMediaPlaybackControlsAn enumeration defining the bitwise flags that are used with the Controls property of the MediaPlayerLauncher object to specify which controls should be displayed by the media player application.
Public enumerationMediaPlayerOrientationDefines the list of orientations in which the media player can be launched.
Public enumerationTaskResultDescribes the success status of a Chooser operation.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.