Skip to main content
All docs
V24.1

AsyncDownloadPolicy.AsyncDownloaderCancelEventArgs.ThrowOnNonTrustedUri Property

Gets or sets whether to throw an exception for unwanted download requests.

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public bool ThrowOnNonTrustedUri { get; set; }

Property Value

Type Description
Boolean

true to throw an exception for unwanted download requests; otherwise, false.

Remarks

If the SuppressAll() policy is active, set the ThrowOnNonTrustedUri parameter to true to forcibly throw an exception for unwanted download requests based on a condition.

If the ThrowAlways() policy is active, set the ThrowOnNonTrustedUri parameter to false to supress exceptions for certain unwanted download requests.

See Also