ErrorInfo.Verbosity([Verbosity]) Method

Version: Available or changed with runtime version 3.0.

Specifies the severity level of the error. This can determine whether the error should be sent to telemetry (which is based on the trace level setting of the server).

Syntax

[Verbosity := ]  ErrorInfo.Verbosity([Verbosity: Verbosity])

Note

This method can be invoked using property access syntax.

Parameters

ErrorInfo
 Type: ErrorInfo
An instance of the ErrorInfo data type.

[Optional] Verbosity
 Type: Verbosity
The verbosity that the error should be sent with.

Return Value

[Optional] Verbosity
 Type: Verbosity
The current verbosity of the ErrorInfo.

See Also

ErrorInfo Data Type
Getting Started with AL
Developing Extensions