Table of Contents

UploadItem.Reject Method

Definition

Namespace
GleamTech.FileUltimate.AspNet.UI
Assembly
GleamTech.FileUltimate.dll

Rejects this upload item and shows a reason to the user. This method is effective only if item uploading is not started yet, i.e. Status is Pending,

This method can be called inside Uploading, ItemUploading event handlers and BeginQueue(UploadQueue, IEnumerable<UploadItem>), BeginItem(UploadItem) methods.

public void Reject(string reason)

Parameters

reason string

The rejection reason to show to the user.