NeatUpload Documentation

UploadHttpModule.WaitForUploadToComplete Method 

Waits for the current upload request to finish.

public static void WaitForUploadToComplete();

Remarks

If the UploadHttpModule is being used for the current request, this method will not return until the module has received and processed the entire request. If the UploadHttpModule is not being used for the current request, this method will return immediately. Note: the UploadHttpModule is only used if it has been added in the httpModules section of the Web.config, the neatUpload section's useHttpModule attribute is "true" for the page being requested (which is the default), and the request has a content type of multipart/form-data.

See Also

UploadHttpModule Class | Brettle.Web.NeatUpload Namespace