Class ReportErrorOccurredEventArgs
Its represents event data and provides complete details about the event information.
Inheritance
Namespace: BoldReports.Web
Assembly: BoldReports.Web.dll
Syntax
public class ReportErrorOccurredEventArgs : EventArgs
Constructors
ReportErrorOccurredEventArgs()
Declaration
public ReportErrorOccurredEventArgs()
Properties
ClassName
Gets or sets the name of the class where the error occurred.
Declaration
public string ClassName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This information helps in tracing the origin of the error.
ErrorCode
Gets or sets the error code representing the exception.
Declaration
public string ErrorCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This code is used to identify the specific error type.
ErrorDetail
Gets or sets detailed information about the error.
Declaration
public string ErrorDetail { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Contains additional context or details about the error.
Exception
Represents the exception that occurred during the ReportErrorOccurred event.
Declaration
public Exception Exception { get; set; }
Property Value
Type | Description |
---|---|
System.Exception |
Remarks
This property provides the details of the exception that was thrown.
Handled
Gets or sets a value indicating whether the error has been handled.
Declaration
public bool Handled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
When set to true, the error is considered handled.
Message
Gets or sets the error message associated with the exception.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This string contains a description of the error.
MethodName
Gets or sets the name of the method where the error occurred.
Declaration
public string MethodName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Useful for identifying the source of the error within the code.