ProtectionPolicyManager.ProtectedAccessResumed イベント

定義

注意

2022 年 7 月以降、Microsoft は Windows Information Protection (WIP) と WIP をサポートする API を非推奨にしています。 Microsoft は、サポートされているバージョンの Windows で WIP を引き続きサポートします。 Windows の新しいバージョンには WIP の新機能は含まれません。また、今後のバージョンの Windows ではサポートされません。 詳細については、「Windows Information Protectionの終了を発表する」を参照してください。

データ保護のニーズに合わせて、Microsoft Purview 情報保護Microsoft 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 メソッドの解説セクションを参照してください。

適用対象

こちらもご覧ください