Gets or sets the value that specifies whether any exceptions should be caught by EAUploadModuleduring the request processing.
Namespace:
EasyAlgo.EAUploadAssembly: EasyAlgo.EAUpload (in EasyAlgo.EAUpload.dll)
Version: 1.3.1.0
Syntax
| C# |
|---|
public bool ThrowErrorsImmediately { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property ThrowErrorsImmediately As Boolean |
Field Value
Type: System..::.Booleantrue if exceptions should be thrown immediately; otherwise, false. Default value is true
Remarks
This property is a reflection of EAUpload configuration parameter (<EasyAlgo.EAUpload>/<Exceptions ... ThrowErrorsImmediately="" ... >).
The following table describes how the logic of exceptions processing during request reading depends on ProcessRequestOnError and ThrowErrorsImmediately properties:
Note:If you want to change this property at the runtime, you can define its at the Initializing stage or at the Uploading stage of an upload (see EasyAlgo.EAUpload..::.UploadState for more information).
Also if you have change this property for the whole of EAUpload component (EAUploadModule..::.CommonEnvironment property), then new value will take effect for the all processing and new uploads.
The following table describes how the logic of exceptions processing during request reading depends on ProcessRequestOnError and ThrowErrorsImmediately properties:
| ProcessRequestOnError | ThrowErrorsImmediately | Defined logic |
|---|---|---|
| false | true |
|
| false | false |
|
| true | true |
|
| true | false |
|
Examples
You can find an example in the description of UploadEnvironment class.
