Dialog.LogInternalError(Text, DataClassification, Verbosity) Method
Version: Available or changed with runtime version 6.0 until version 13.0 where it was deprecated for the following reason: "Consider using 'Session.LogMessage' instead."
Log internal errors for telemetry.
Note
This method is supported only in Business Central on-premises.
Syntax
Dialog.LogInternalError(Message: Text, DataClassificationInstance: DataClassification, VerbosityInstance: Verbosity)
Note
This method can be invoked without specifying the data type name.
Parameters
Message
Type: Text
This string contains the text of the error message you want to log into telemetry. It is not what the user will get, they will only get a generic error message.
DataClassificationInstance
Type: DataClassification
Sets the classification of the data in the error message.
VerbosityInstance
Type: Verbosity
Represents the security level of events.