| ConsentInfoExtensionsUpsertConsentText Method |
Namespace: CMS.DataProtection
public static void UpsertConsentText( this ConsentInfo consent, string cultureCode, string shortText, string fullText )
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when consent is null. |
| ArgumentException | Thrown when cultureCode is null or empty. |
| ArgumentNullException | Thrown when shortText is null. |
| ArgumentNullException | Thrown when fullText is null. |