Class FileStorage.MaxFileSizeExceededException
- Namespace
- InSite.Common.Web
- Assembly
- InSite.UI.dll
public class FileStorage.MaxFileSizeExceededException : ApplicationError, _Exception, ISerializable
- Inheritance
-
FileStorage.MaxFileSizeExceededException
- Implements
-
- Inherited Members
-
Constructors
MaxFileSizeExceededException(string, long)
public MaxFileSizeExceededException(string fileType, long fileSizeLimit)
Parameters
fileType string
fileSizeLimit long
MaxFileSizeExceededException(string, string, long, long)
public MaxFileSizeExceededException(string fileType, string fileName, long fileSize, long fileSizeLimit)
Parameters
fileType string
fileName string
fileSize long
fileSizeLimit long
Properties
FileName
public string FileName { get; }
Property Value
- string
FileSize
public string FileSize { get; }
Property Value
- string
FileSizeLimit
public string FileSizeLimit { get; }
Property Value
- string
FileType
public string FileType { get; }
Property Value
- string
Message
public override string Message { get; }
Property Value
- string
Methods
Create(string, string, long, long)
public static FileStorage.MaxFileSizeExceededException Create(string fileType, string fileName, long fileSize, long fileSizeLimit)
Parameters
fileType string
fileName string
fileSize long
fileSizeLimit long
Returns
- FileStorage.MaxFileSizeExceededException
GetMessage(string, long)
public static string GetMessage(string fileType, long fileSizeLimit)
Parameters
fileType string
fileSizeLimit long
Returns
- string
GetMessage(string, string)
public static string GetMessage(string fileType, string fileSizeLimit)
Parameters
fileType string
fileSizeLimit string
Returns
- string