Dialog.LogInternalError(Text, 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, SubstitutionString: 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. Use a percent sign (%) to insert a variable value into the string. Place the percent where you want the system to substitute the variable value. You may only insert one variable value. It is not what the user will get, they will only get a generic error message.
SubstitutionString
Type: Text
This string replaces a percent sign in the "Message" Parameter.
DataClassificationInstance
Type: DataClassification
Sets the classification of the data in the error message.
VerbosityInstance
Type: Verbosity
Represents the security level of events.
See Also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho