Class ExportFailureEventArgs
Provides details on export failure.
Inherited Members
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ExportFailureEventArgs : EventArgs
Remarks
Extends base event args with status and message.
Constructors
ExportFailureEventArgs()
Declaration
public ExportFailureEventArgs()
Properties
ExportType
Type of export that failed.
Declaration
public string ExportType { get; }
Property Value
| Type | Description |
|---|---|
| string | A string specifying the export type ("Word" or "Pdf"). The default value is an empty string. |
Remarks
Set internally by the component. Use to route error handling based on export format.
Message
Optional error message from the export failure.
Declaration
public string? Message { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string? representing the error message (e.g., "HTTP error! Status: 404"). The default value is null. |
Remarks
Null if no message is available. Use for user-friendly error display.
StatusCode
HTTP status code of the failed response.
Declaration
public int StatusCode { get; set; }
Property Value
| Type | Description |
|---|---|
| int | An int representing the HTTP status code (e.g., 404, 500). The default value is |
Remarks
Inspect this value to determine the type of failure (e.g., client error vs. server error).