NeatUpload Documentation

UploadTooLargeException Constructor (Int64)

NOTE: This constructor is now obsolete.

Use UploadTooLargeException(maxRequestLength, requestLength) instead


Creates an UploadTooLargeException, given the maximum allowed request length.

public UploadTooLargeException(
   long maxRequestLength
);

Parameters

maxRequestLength
The maximum allowed request length

Remarks

The HTTP status code for this exception will be 413, and the message will be retrieved from the "UploadTooLargeMessageFormat" resource in NeatUpload.Strings.resx.

See Also

UploadTooLargeException Class | Brettle.Web.NeatUpload Namespace | UploadTooLargeException Constructor Overload List