menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FailureEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FailureEventArgs

    Provides information about the OnChunkFailure and OnFailure events callback.

    Inheritance
    System.Object
    SuccessEventArgs
    FailureEventArgs
    Inherited Members
    SuccessEventArgs.ChunkIndex
    SuccessEventArgs.ChunkSize
    SuccessEventArgs.E
    SuccessEventArgs.Event
    SuccessEventArgs.File
    SuccessEventArgs.Operation
    SuccessEventArgs.Response
    SuccessEventArgs.StatusText
    SuccessEventArgs.TotalChunk
    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FailureEventArgs : SuccessEventArgs
    Remarks

    This event is triggered when file upload operations fail, either for individual chunks or entire files. It provides comprehensive information about the failure, including details about files that can be retried and the underlying cause of the failure. This event inherits all properties from SuccessEventArgs to provide complete context about the failed operation.

    Constructors

    FailureEventArgs()

    Declaration
    public FailureEventArgs()

    Properties

    RetryFiles

    Gets or sets the details about files that can be retried after upload failure.

    Declaration
    public FileInfo[] RetryFiles { get; set; }
    Property Value
    Type Description
    FileInfo[]

    An array of FileInfo objects representing files that are eligible for retry, or null if no files can be retried.

    Remarks

    This property contains information about files that failed to upload but can be retried based on the uploader's retry configuration. The retry mechanism helps handle temporary network issues or server unavailability by automatically attempting to upload failed files again.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved