Share via


ProtectionPolicyManager.ProtectedAccessResumed 이벤트

정의

참고

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 ProtectedAccessResumed(EventHandler<ProtectedAccessResumedEventArgs> const& handler) const;

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

// Revoke with event_revoker
static ProtectionPolicyManager::ProtectedAccessResumed_revoker ProtectedAccessResumed(auto_revoke_t, EventHandler<ProtectedAccessResumedEventArgs> const& handler) const;
public static event System.EventHandler<ProtectedAccessResumedEventArgs> ProtectedAccessResumed;
function onProtectedAccessResumed(eventArgs) { /* Your code */ }
Windows.Security.EnterpriseData.ProtectionPolicyManager.addEventListener("protectedaccessresumed", onProtectedAccessResumed);
Windows.Security.EnterpriseData.ProtectionPolicyManager.removeEventListener("protectedaccessresumed", onProtectedAccessResumed);
- or -
Windows.Security.EnterpriseData.ProtectionPolicyManager.onprotectedaccessresumed = onProtectedAccessResumed;
Public Shared Custom Event ProtectedAccessResumed As EventHandler(Of ProtectedAccessResumedEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
enterpriseDataPolicy

설명

ProtectedAccessSuspending 메서드의 설명 섹션을 참조하세요.

적용 대상

추가 정보