| 
    Microsoft Information Protection SDK - C++ 1.17
    
   API Reference Documentation for C++ 
   | 
 
Interface that receives notifications related to ProtectionEngine. More...
#include <protection_engine.h>
Public Member Functions | |
| virtual void | OnGetTemplatesSuccess (const std::vector< std::shared_ptr< TemplateDescriptor > > &templateDescriptors, const std::shared_ptr< void > &context) | 
| Called when templates were retrieved successfully.   | |
| virtual void | OnGetTemplatesFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) | 
| Called when retrieving templates generated an error.   | |
| virtual void | OnGetRightsForLabelIdSuccess (const std::shared_ptr< std::vector< std::string > > &rights, const std::shared_ptr< void > &context) | 
| Called when rights were retrieved successfully.   | |
| virtual void | OnGetRightsForLabelIdFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) | 
| Called when retrieving rights for a label ID for the user.   | |
| virtual void | OnLoadUserCertSuccess (const std::shared_ptr< void > &context) | 
| Called when user cert loaded successfully.   | |
| virtual void | OnLoadUserCertFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) | 
| Called when user cert loaded failed.   | |
| virtual void | OnRegisterContentForTrackingAndRevocationSuccess (const std::shared_ptr< void > &context) | 
| Called when registration of content for tracking & revocation is successful.   | |
| virtual void | OnRegisterContentForTrackingAndRevocationFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) | 
| Called when registration of content for tracking & revocation fails.   | |
| virtual void | OnRevokeContentSuccess (const std::shared_ptr< void > &context) | 
| Called when revocation of is successful.   | |
| virtual void | OnRevokeContentFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) | 
| Called when revocation of content is fails.   | |
| virtual void | OnCreateDelegatedLicensesSuccess (std::vector< std::shared_ptr< DelegationLicense > > delegatedLicenses, const std::shared_ptr< void > &context) | 
| Called when create delegated license is successful.   | |
| virtual void | OnCreateDelegatedLicensesFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) | 
| Called when create delegated license fails.   | |
| virtual void | OnGetTenantInformationAsyncSuccess (const std::shared_ptr< TenantInformation > &tenantInformation, const std::shared_ptr< void > &context) | 
| Called when GetTenantInformationAsync is successful.   | |
| virtual void | OnGetTenantInformationAsyncFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) | 
| Called when GetTenantInformationAsync fails.   | |
| virtual void | OnGetLicenseRightsDataSuccess (const std::shared_ptr< LicenseRightsData > &licenseRightsData, const std::shared_ptr< void > &context) | 
| Called when license rights data were retrieved successfully.   | |
| virtual void | OnGetLicenseRightsDataFailure (const std::exception_ptr &error, const std::shared_ptr< void > &context) | 
| Called when retrieving license rights data fails.   | |
Interface that receives notifications related to ProtectionEngine.
      
  | 
  inlinevirtual | 
Called when create delegated license fails.
| error | Error that occurred | 
| context | The same context that was passed to ProtectionEngine::CreateDelegationLicensesAsync | 
      
  | 
  inlinevirtual | 
Called when create delegated license is successful.
| context | The same context that was passed to ProtectionEngine::CreateDelegationLicensesAsync | 
      
  | 
  inlinevirtual | 
Called when retrieving license rights data fails.
| error | Error that occurred while retrieving license rights data | 
| context | The same context that was passed to ProtectionEngine::GetLicenseRightsDataAsync | 
      
  | 
  inlinevirtual | 
Called when license rights data were retrieved successfully.
| rights | A reference to the license rights data retrieved | 
| context | The same context that was passed to ProtectionEngine::GetLicenseRightsDataAsync | 
      
  | 
  inlinevirtual | 
Called when retrieving rights for a label ID for the user.
| error | Error that occurred while retrieving rights | 
| context | The same context that was passed to ProtectionEngine::GetRightsForLabelIdAsync | 
      
  | 
  inlinevirtual | 
Called when rights were retrieved successfully.
| rights | A reference to the list of rights retrieved | 
| context | The same context that was passed to ProtectionEngine::GetRightsForLabelIdAsync | 
      
  | 
  inlinevirtual | 
Called when retrieving templates generated an error.
| error | Error that occurred while retrieving templates | 
| context | The same context that was passed to ProtectionEngine::GetTemplatesAsync | 
      
  | 
  inlinevirtual | 
Called when templates were retrieved successfully.
| templateDescriptors | A reference to the list of templates descriptors | 
| context | The same context that was passed to ProtectionEngine::GetTemplatesAsync | 
      
  | 
  inlinevirtual | 
Called when GetTenantInformationAsync fails.
| error | Error that occurred | 
| context | The same context that was passed to ProtectionEngine::GetTenantInformationAsync | 
      
  | 
  inlinevirtual | 
Called when GetTenantInformationAsync is successful.
| context | The same context that was passed to ProtectionEngine::GetTenantInformationAsync | 
      
  | 
  inlinevirtual | 
Called when user cert loaded failed.
| error | Error that occurred while retrieving rights | 
| context | The same context that was passed to ProtectionEngine::LoadUserCertAsync | 
      
  | 
  inlinevirtual | 
Called when user cert loaded successfully.
| context | The same context that was passed to ProtectionEngine::LoadUserCertAsync | 
      
  | 
  inlinevirtual | 
Called when registration of content for tracking & revocation fails.
| error | Error that occurred while registering content | 
| context | The same context that was passed to ProtectionEngine::RegisterContentForTrackingAndRevocationAsync | 
      
  | 
  inlinevirtual | 
Called when registration of content for tracking & revocation is successful.
| context | The same context that was passed to ProtectionEngine::RegisterContentForTrackingAndRevocationAsync | 
      
  | 
  inlinevirtual | 
Called when revocation of content is fails.
| error | Error that occurred while revoking content | 
| context | The same context that was passed to ProtectionEngine::RevokeContentAsync | 
      
  | 
  inlinevirtual | 
Called when revocation of is successful.
| context | The same context that was passed to ProtectionEngine::RevokeContentAsync |