Class
UploadChunkSettings

The component that configures the excel export.

Definition

Constructors

UploadChunkSettings()

Declaration

cs-api-definition
public UploadChunkSettings()

Properties

AutoRetryAfter

Sets the delay in milliseconds before retrying a failed chunk upload. Example: 500 for half a second. Used with MaxAutoRetries.

Declaration

cs-api-definition
[Parameter]
public double AutoRetryAfter { get; set; }

Property Value

double

Enabled

Enables chunked upload mode. Set to true to split large files into smaller chunks for upload. Example: true. Required for large file uploads and pause/resume support. See Resumable.

Declaration

cs-api-definition
[Parameter]
public bool Enabled { get; set; }

Property Value

bool

MaxAutoRetries

Sets the maximum number of retry attempts for a failed chunk. Example: 3. Increase for unreliable networks. See AutoRetryAfter for retry delay.

Declaration

cs-api-definition
[Parameter]
public int MaxAutoRetries { get; set; }

Property Value

int

MetadataField

Sets the name of the metadata field sent with each chunk. Example: "chunkMetadata". Change if your server expects a different key.

Declaration

cs-api-definition
[Parameter]
public string MetadataField { get; set; }

Property Value

string

Resumable

Enables pausing and resuming chunked uploads. Set to true to allow users to pause and resume uploads. Example: true. Requires Enabled to be true.

Declaration

cs-api-definition
[Parameter]
public bool Resumable { get; set; }

Property Value

bool

Size

Sets the chunk size in bytes. Example: 1048576 for 1MB chunks. Adjust for network reliability and server limits. See MaxAutoRetries for retry behavior.

Declaration

cs-api-definition
[Parameter]
public double Size { get; set; }

Property Value

double

Methods

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()