Back to Devexpress

AsyncDownloadPolicy.AsyncDownloaderCancelEventArgs.ThrowOnNonTrustedUri Property

corelibraries-devexpress-dot-data-dot-asyncdownloadpolicy-dot-asyncdownloadercanceleventargs-097d9957.md

latest1.9 KB
Original Source

AsyncDownloadPolicy.AsyncDownloaderCancelEventArgs.ThrowOnNonTrustedUri Property

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

Namespace : DevExpress.Data

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public bool ThrowOnNonTrustedUri { get; set; }
vb
Public Property ThrowOnNonTrustedUri As Boolean

Property Value

TypeDescription
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

IsTrustedUri

AsyncDownloadPolicy.AsyncDownloaderCancelEventArgs Class

AsyncDownloadPolicy.AsyncDownloaderCancelEventArgs Members

DevExpress.Data Namespace