MdmSession 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
서버에서 MDM 세션을 시작하는 기능을 제공합니다.
public ref class MdmSession sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MdmSession final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class MdmSession final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MdmSession
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class MdmSession
Public NotInheritable Class MdmSession
- 상속
- 특성
Windows 요구 사항
디바이스 패밀리 |
Windows 10 Creators Update (10.0.15063.0에서 도입되었습니다.)
|
API contract |
Windows.Foundation.UniversalApiContract (v4.0에서 도입되었습니다.)
|
설명
세션이 완료되면 호출자는 클라이언트의 각 경고에 대한 서버의 응답을 확인할 수 있습니다. 기본적으로 세션은 유지되므로 클라이언트는 나중에 결과를 조회할 수 있습니다.
세션이 완료되면 MdmSession.Delete 또는 MdmSessionManager.DeleteSessionById 를 호출하여 세션의 데이터를 삭제할 수 있습니다.
참고: MDM 세션은 중단할 수 없습니다 . 호출자가 세션을 취소하고 새 세션을 시작하면 원래 세션이 완료될 때까지 백그라운드에서 계속됩니다.
이 API는 서버 ID 또는 등록을 노출하지 않습니다.
속성
Alerts |
현재 세션에 대한 모든 MdmAlert의 벡터 목록입니다. |
ExtendedError |
MDM 세션에 대한 확장 오류 코드입니다. |
Id |
MDM 세션의 ID입니다. |
State |
MDM 세션의 상태를 가져옵니다. |
메서드
AttachAsync() |
호출자가 기존 MDM 세션을 다시 열 수 있습니다. |
Delete() |
MDM 세션을 삭제합니다. |
StartAsync() |
상수 경고를 사용하여 MDM 세션을 시작합니다. |
StartAsync(IIterable<MdmAlert>) |
사용자 지정 경고를 사용하여 MDM 세션을 시작합니다. |