private void Revoke_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         ProtectionPolicyManager.RevokeContent(Scenario1.m_EnterpriseIdentity);
         rootPage.NotifyUser("RevokeContent executed", NotifyType.StatusMessage);
     }
     catch (Exception ex)
     {
         rootPage.NotifyUser("Exception thrown:" + ex.ToString(), NotifyType.ErrorMessage);
     }
 }
Esempio n. 2
0
 private void Revoke_Click(object sender, RoutedEventArgs e)
 {
     ProtectionPolicyManager.RevokeContent(Scenario1.m_enterpriseId);
     rootPage.NotifyUser("RevokeContent executed", NotifyType.StatusMessage);
 }