ErrorInfo.DataClassification([DataClassification]) Method
Version: Available or changed with runtime version 3.0.
Specifies the classification of the error. Values include 'CustomerContent', 'EndUserIdentifiableInformation', 'EndUserPseudonymousIdentifiers', 'AccountData', 'OrganizationIdentifiableInformation', 'SystemMetadata', and 'ToBeClassified'
Syntax
[DataClassification := ] ErrorInfo.DataClassification([DataClassification: DataClassification])
Note
This method can be invoked using property access syntax.
Parameters
ErrorInfo
Type: ErrorInfo
An instance of the ErrorInfo data type.
[Optional] DataClassification
Type: DataClassification
The data classification of the content in the message.
Return Value
[Optional] DataClassification
Type: DataClassification
The current data classification of the ErrorInfo.
Related information
ErrorInfo Data Type
AL error handling
Get Started with AL
Developing Extensions