Class FileValidatingEventArgs
Provides metadata used when validating an uploaded file on the server.
Inherited Members
Namespace: AjaxUploader.Events
Assembly: AjaxUploader.dll
Syntax
public class FileValidatingEventArgs : CancelEventArgs
Constructors
FileValidatingEventArgs()
Initializes a new instance of the FileValidatingEventArgs class.
Declaration
public FileValidatingEventArgs()
Properties
CancelReason
Gets or sets the validation error message used when the upload is canceled.
Declaration
public string CancelReason { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContentType
Gets or sets the detected content type.
Declaration
public string ContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FileName
Gets or sets the original file name.
Declaration
public string FileName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FileSize
Gets or sets the uploaded file size in bytes.
Declaration
public long FileSize { get; set; }
Property Value
| Type | Description |
|---|---|
| long |