NeatUpload Documentation

UploadTooLargeException Constructor (Int64, Int64)

Creates an UploadTooLargeException, given the maximum allowed request length, and the length of the request which was too large.

public UploadTooLargeException(
   long maxRequestLength,
   long requestLength
);

Parameters

maxRequestLength
The maximum allowed request length
requestLength
The length of the request which was too large.

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