4 out of 4 rated this helpful - Rate this topic

Microsoft.Phone.Tasks Namespace

Windows Phone

March 22, 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.

  Class Description
Public class AddressChooserTask Allows an application to launch the Contacts application. Use this to obtain the physical address of a contact selected by the user.
Public class AddressResult Represents a physical address returned from a call to the Show() method.
Public class BingMapsDirectionsTask Allows 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 class BingMapsTask Allows 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 class CameraCaptureTask Allows an application to launch the Camera application. Use this to allow users to take a photo from your application.
Public class ChooserBase<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 class ConnectionSettingsTask Allows an application to launch a Settings dialog that allows the user to change the device’s network connection settings.
Public class EmailAddressChooserTask Allows an application to launch the Contacts application. Use this to obtain the email address of a contact selected by the user.
Public class EmailComposeTask Allows an application to launch the email application with a new message displayed. Use this to allow users to send email from your application.
Public class EmailResult Represents an email address returned from a call to the Show method of a EmailAddressChooserTask object.
Public class GameInviteTask Allows an application to show a game invite screen that allows the user to invite players to a multiplayer game session.
Public class LabeledMapLocation Represents 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 class MarketplaceDetailTask Allows an application to launch the Windows Phone Marketplace client application and display the details page for the specified product.
Public class MarketplaceHubTask Allows an application to launch the Windows Phone Marketplace client application.
Public class MarketplaceReviewTask Allows an application to launch the Windows Phone Marketplace client application and display the review page for the specified product.
Public class MarketplaceSearchTask Allows an application to launch the Windows Phone Marketplace client application and display the search results from the specified search terms.
Public class MediaPlayerLauncher Allows an application to launch the media player.
Public class PhoneCallTask Allows an application to launch the Phone application. Use this to allow users to make a phone call from your application.
Public class PhoneNumberChooserTask Allows an application to launch the Contacts application. Use this to obtain the phone number of a contact selected by the user.
Public class PhoneNumberResult Represents a phone number returned from a call to the Show method of a PhoneNumberChooserTask object.
Public class PhotoChooserTask Allows an application to launch the Photo Chooser application. Use this to allow users to select a photo.
Public class PhotoResult Represents a photo returned from a call to the Show method of a PhotoChooserTask object or a CameraCaptureTask object.
Public class SaveContactResult Contains the result of an attempt to save a contact.
Public class SaveContactTask Provides methods and events for launching the contacts application and enabling a user to save a contact.
Public class SaveEmailAddressTask Allows 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 class SavePhoneNumberTask Allows 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 class SaveRingtoneTask Enables 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 class SearchTask Allows an application to launch the Web Search application.
Public class ShareLinkTask Allows an application to launch a dialog that enables the user to share a link on the social networks of their choice.
Public class ShareStatusTask Allows an application to launch a dialog that enables the user to share a status message on the social networks of their choice.
Public class ShareTaskBase The base class for the social network sharing APIs, ShareLinkTask and ShareStatusTask.
Public class SmsComposeTask Launches the Messaging application with a new SMS message displayed.
Public class TaskEventArgs The EventArgs used by the Completed event for all Choosers.
Public class WebBrowserTask Allows an application to launch the web browser application.
  Enumeration Description
Public enumeration ConnectionSettingsType Lists the network connection settings types supported by ConnectionSettingsTask.
Public enumeration MarketplaceContentType Defines 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 enumeration MediaLocationType Lists the data stores in which a media file can be stored. Used by MediaPlayerLauncher.
Public enumeration MediaPlaybackControls An 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 enumeration MediaPlayerOrientation Defines the list of orientations in which the media player can be launched.
Public enumeration TaskResult Describes the success status of a Chooser operation.

Did you find this helpful?
(1500 characters remaining)