Skip to main content
All docs
V26.1
  • FileSystemException.ErrorCode Property

    Gets an error code.

    Namespace: DevExtreme.AspNet.Mvc.FileManagement

    Assembly: DevExtreme.AspNet.Core.dll

    Declaration

    public FileSystemErrorCode ErrorCode { get; }

    Property Value

    Type Description
    FileSystemErrorCode

    Information about an error.

    Available values:

    Name Description
    NoAccess

    The file or directory has no access.

    FileExists

    The file already exists.

    FileNotFound

    The file is not found.

    DirectoryExists

    The directory already exists.

    DirectoryNotFound

    The directory is not found.

    WrongFileExtension

    The file has a wrong extension.

    MaxFileSizeExceeded

    The file size exceeds the maximum file size limit.

    InvalidSymbols

    The file or directory name contains one or more invalid symbols.

    Unspecified

    Unspecified error.

    See Also