PhoneApplicationService Constructor
Collapse the table of content
Expand the table of content

PhoneApplicationService Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Instantiates a new instance of the PhoneApplicationService class.

Namespace:  Microsoft.Phone.Shell
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public PhoneApplicationService()

The default project template for Windows Phone applications manages the creation of this object automatically. You can access the object by using the static Current property of the PhoneApplicationService object. Only one instance of this class can exist at a time. Attempting to create another instance will result in an InvalidOperationException.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft