Writes an error message.
Error log messages provide information about unrecoverable events in application flow.
Namespace: GroupDocs.Viewer.LoggingAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxvoid Error(
string message,
Exception exception
)
Sub Error (
message As String,
exception As Exception
)
void Error(
String^ message,
Exception^ exception
)
abstract Error :
message : string *
exception : Exception -> unit
Parameters
- message
- Type: SystemString
The error message. - exception
- Type: SystemException
The exception.
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown when message is null. |
ArgumentNullException | Thrown when exception is null. |
See Also