IStatusManager Interface
Represents a contract for a status manager class that stores and retrieves UploadStatus objects for uploads in progress.
Members
RemoveStaleStatus(Int32)
Called periodically to remove any stale status from the store. Implementers should remove all statuses that haven't been updated in the specified time whatever store they are using. This is necessary because if a user closes the browser during an upload, the status will never get removed.
Parameters
- staleMinutes (Int32)
– The number of minutes not being updated after which the upload should be considered stale.
RemoveStatus(String)
Called when user code calls the HttpUploadModule.String) method. Implementers should remove the upload status from the store they are using.
Parameters
Called when an upload is started. Implementers should save an initial copy of the UploadStatus passed in.
Parameters
|