Class UploadProgressInfo
Represents progress information for an in-flight upload.
Inherited Members
Namespace: AjaxUploader.Models
Assembly: AjaxUploader.dll
Syntax
public class UploadProgressInfo
Constructors
UploadProgressInfo()
Initializes a new instance of the UploadProgressInfo class.
Declaration
public UploadProgressInfo()
Properties
ChunksCompleted
Gets or sets the number of completed chunks.
Declaration
public int ChunksCompleted { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ErrorMessage
Gets or sets the current upload error message.
Declaration
public string ErrorMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FileName
Gets or sets the original file name.
Declaration
public string FileName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PercentComplete
Gets the current progress percentage.
Declaration
public int PercentComplete { get; }
Property Value
| Type | Description |
|---|---|
| int |
Status
Gets or sets the current upload status.
Declaration
public string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TotalBytes
Gets or sets the total number of bytes expected for the upload.
Declaration
public long TotalBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
TotalChunks
Gets or sets the total number of chunks in the upload.
Declaration
public int TotalChunks { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UploadId
Gets or sets the client upload session identifier.
Declaration
public string UploadId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UploadedBytes
Gets or sets the number of bytes uploaded so far.
Declaration
public long UploadedBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| long |