ServiceDeviceType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the type of a portable device service.
public enum class ServiceDeviceType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Portable.PortableDeviceContract, 65536)]
enum class ServiceDeviceType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Portable.PortableDeviceContract), 65536)]
public enum ServiceDeviceType
var value = Windows.Devices.Portable.ServiceDeviceType.calendarService
Public Enum ServiceDeviceType
- Inheritance
-
ServiceDeviceType
- Attributes
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.Devices.Portable.PortableDeviceContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
CalendarService | 0 | A service that provides calendar information. |
ContactsService | 1 | A service that tracks contacts. |
DeviceStatusService | 2 | A device status service. |
NotesService | 3 | A note-taking service. |
RingtonesService | 4 | A service that provides ringtones for a phone. |
SmsService | 5 | An short message service (SMS) messaging service. |
TasksService | 6 | A service for tracking tasks. |
Remarks
To access the device services, you must declare the device service in the capabilities section of the app manifest file. For a list of the GUIDs representing the device services, see Windows.Devices.Portable.