Version

FileError Enumeration

FileError thrown while uploading - e.g. MIME type validation, inner exceptions, etc.
Syntax
'Declaration
 
Public Enum FileError 
   Inherits System.Enum
public enum FileError : System.Enum 
Members
MemberDescription
EstablishingFileNameFile error occurs when getting file name from the request
FileSizeExceededFile size exceeded
InternalErrorHeaderParsingError while parsing request header
InternalErrorUploadFolderNotFoundTemporary folder where file should be uploaded could not be found
InternalExceptionFileDeletingError occurred when trying to delete file
InternalExceptionFileSavingError occurs when file saving fails
InternalExceptionFileStartingError occurred when trying to write file content for the first time
InternalExceptionFileWritingError occurs when trying to write file content
KeyFileNotFoundFile does not exist with the specified key in the request
MimeTypeValidationMIME type validation failed
NoneNo error
ServerSideCancelError set when fileupload is cancelled on start uploading in event handler
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also