UploadStatus Class
Contains information about the current status of an upload. Properties are updated in real time as the upload progresses.
Members
Returns an array containing all the exceptions that occured during a request, or null if none occurred.
ContentLength – Int64
Gets the length of the entire upload data.
CurrentFileName – String
Returns the file name of the file currently being processed.
ErrorMessage – String
Returns the error message associated with this upload.
GetUploadedFiles()
Returns the collection of files uploaded during this request context.
Return Value
ReadOnlyCollection< UploadedFile> – The collection of files uploaded during this request context.
Position – Int64
Gets the current position in the upload.
Returns the current postprocessing status.
Serialize()
Returns this UploadStatus instance serialized into a string.
Return Value
String – The serialized string.
Returns a DateTime representing the moment when the upload started.
Returns a the current state of the upload.
Updates the postprocessing status with the specified status values and sets the completion state.
Parameters
- status (Dictionary<String, String>)
– A dictionary containing the current status values.
- isComplete (Boolean)
– A boolean that specifies whether postprocessing is complete.
Returns the unique upload id for this upload.
UploadInformation – String
Returns an optional string of additional information passed along with the upload.
|