Share via


DeviceAccessInformation 클래스

정의

디바이스에 대한 액세스에 대한 정보를 포함합니다.

public ref class DeviceAccessInformation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DeviceAccessInformation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DeviceAccessInformation
Public NotInheritable Class DeviceAccessInformation
상속
Object Platform::Object IInspectable DeviceAccessInformation
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

속성

CurrentStatus

현재 디바이스 액세스 상태.

UserPromptRequired

디바이스에 대한 액세스에 대한 정보를 포함합니다.

메서드

CreateFromDeviceClass(DeviceClass)

지정된 DeviceClass를 기반으로 DeviceAccessInformation 개체를 초기화합니다.

CreateFromDeviceClassId(Guid)

디바이스 클래스 ID를 기반으로 DeviceAccessInformation 개체를 초기화합니다.

CreateFromId(String)

디바이스 ID를 기반으로 DeviceAccessInformation 개체를 초기화합니다.

이벤트

AccessChanged

디바이스에 대한 액세스가 변경되었을 때 발생합니다.

적용 대상