Share via


ProtectionPolicyManager.ProtectedAccessSuspending 이벤트

정의

참고

2022년 7월부터 Microsoft는 WIP(Windows Information Protection) 및 WIP를 지원하는 API를 더 이상 사용하지 않습니다. Microsoft는 지원되는 Windows 버전에서 WIP를 계속 지원합니다. 새 버전의 Windows에는 WIP에 대한 새로운 기능이 포함되지 않으며 이후 버전의 Windows에서는 지원되지 않습니다. 자세한 내용은 Windows Information Protection 일몰 발표를 참조하세요.

데이터 보호 요구 사항에 따라 Microsoft Purview Information ProtectionMicrosoft Purview 데이터 손실 방지 사용하는 것이 좋습니다. Purview는 구성 설정을 간소화하고 고급 기능 집합을 제공합니다.

보호가 일시 중단될 것이라는 알림을 받기 위해 앱이 등록하는 이벤트입니다.

// Register
static event_token ProtectedAccessSuspending(EventHandler<ProtectedAccessSuspendingEventArgs> const& handler) const;

// Revoke with event_token
static void ProtectedAccessSuspending(event_token const* cookie) const;

// Revoke with event_revoker
static ProtectionPolicyManager::ProtectedAccessSuspending_revoker ProtectedAccessSuspending(auto_revoke_t, EventHandler<ProtectedAccessSuspendingEventArgs> const& handler) const;
public static event System.EventHandler<ProtectedAccessSuspendingEventArgs> ProtectedAccessSuspending;
function onProtectedAccessSuspending(eventArgs) { /* Your code */ }
Windows.Security.EnterpriseData.ProtectionPolicyManager.addEventListener("protectedaccesssuspending", onProtectedAccessSuspending);
Windows.Security.EnterpriseData.ProtectionPolicyManager.removeEventListener("protectedaccesssuspending", onProtectedAccessSuspending);
- or -
Windows.Security.EnterpriseData.ProtectionPolicyManager.onprotectedaccesssuspending = onProtectedAccessSuspending;
Public Shared Custom Event ProtectedAccessSuspending As EventHandler(Of ProtectedAccessSuspendingEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
enterpriseDataPolicy

설명

엔터프라이즈 콘텐츠를 처리하도록 설계된 앱은 중요한 데이터를 메모리에 유지하지 않도록 해야 합니다. 이를 위해 디바이스가 잠겨 있거나 잠금 해제된 경우 ProtectedAccessSuspending 및 ProtectedAccessResumed 이벤트에 등록하여 instance 알림을 받습니다. 디바이스에 프로비전된 데이터 보호 키가 일시적으로 제거되기 전에 ProtectedAccessSuspending이 발생합니다. 이러한 키는 디바이스가 잠겨 있는 동안 암호화된 데이터에 대한 무단 액세스를 방지하기 위해 디바이스가 잠겨 있을 때 제거됩니다. 디바이스 잠금 해제 시 키를 다시 사용할 수 있게 되면 ProtectedAccessResumed가 발생합니다. 디바이스가 잠겨 있으면 앱은 DataProtectionManager를 사용하여 메모리의 중요한 콘텐츠를 보호합니다. 또한 시스템에서 메모리에 중요한 데이터를 캐시하지 않도록 보호된 파일에 대한 열린 파일 핸들을 닫습니다.

적용 대상

추가 정보