Click or drag to resize
IConsentAgreementServiceRevoke Method
Revokes an agreement of the given consent for the given contact.

Namespace: CMS.DataProtection
Assembly: CMS.DataProtection (in CMS.DataProtection.dll) Version: 11.0.0
Syntax
C#
ConsentAgreementInfo Revoke(
	ContactInfo contact,
	ConsentInfo consent
)

Parameters

contact
Type: CMS.ContactManagementContactInfo
Contact
consent
Type: CMS.DataProtectionConsentInfo
Consent

Return Value

Type: ConsentAgreementInfo
Returns the agreement object that has been revoked.
Exceptions
ExceptionCondition
ArgumentNullExceptioncontact is null -or consent is null
See Also