ServiceDeviceType Enum

Definisi

Menunjukkan jenis layanan perangkat portabel.

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
Warisan
ServiceDeviceType
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows Desktop Extension SDK (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Devices.Portable.PortableDeviceContract (diperkenalkan dalam v1.0)

Bidang

CalendarService 0

Layanan yang menyediakan informasi kalender.

ContactsService 1

Layanan yang melacak kontak.

DeviceStatusService 2

Layanan status perangkat.

NotesService 3

Layanan pencatatan.

RingtonesService 4

Layanan yang menyediakan nada dering untuk telepon.

SmsService 5

Layanan pesan singkat (SMS).

TasksService 6

Layanan untuk melacak tugas.

Keterangan

Untuk mengakses layanan perangkat, Anda harus mendeklarasikan layanan perangkat di bagian kemampuan file manifes aplikasi. Untuk daftar GUID yang mewakili layanan perangkat, lihat Windows.Devices.Portable.

Berlaku untuk