Class UploaderAsyncSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
UploaderAsyncSettingsBuilder
Assembly: Syncfusion.EJ2.dll
public class UploaderAsyncSettingsBuilder : ControlBuilder
Constructors
Declaration
public UploaderAsyncSettingsBuilder()
Declaration
public UploaderAsyncSettingsBuilder(UploaderAsyncSettings model)
Parameters
Methods
Specifies the chunk size to split the large file into chunks, and upload it to the server in a sequential order.
If the chunk size property has value, the uploader enables the chunk upload by default.
It must be specified in bytes value.
Declaration
public UploaderAsyncSettingsBuilder ChunkSize(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Specifies the URL of remove action that receives the file information and handle the remove operation in server.
The remove action type must be POST request and define “removeFileNames” attribute to get file information that will be removed.
This property is optional.
Declaration
public UploaderAsyncSettingsBuilder RemoveUrl(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Specifies the delay time in milliseconds that the automatic retry happens after the delay.
Declaration
public UploaderAsyncSettingsBuilder RetryAfterDelay(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Specifies the number of retries that the uploader can perform on the file failed to upload.
By default, the uploader set 3 as maximum retries. This property must be specified to prevent infinity looping.
Declaration
public UploaderAsyncSettingsBuilder RetryCount(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Specifies the URL of save action that will receive the upload files and save in the server.
The save action type must be POST request and define the argument as same input name used to render the component.
The upload operations could not perform without this property.
Declaration
public UploaderAsyncSettingsBuilder SaveUrl(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns