Back to Devexpress

AsyncDownloadPolicy.SuppressAll() Method

corelibraries-devexpress-dot-data-dot-asyncdownloadpolicy.md

latest1.5 KB
Original Source

AsyncDownloadPolicy.SuppressAll() Method

Suppresses all downloads.

Namespace : DevExpress.Data

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public static void SuppressAll()
vb
Public Shared Sub SuppressAll

Remarks

Call the SuppressAll method at application startup to apply a restrictive policy:

csharp
static void Main() {
    DevExpress.Data.AsyncDownloadPolicy.SuppressAll();  
    Application.Run(new Form1());  
}
vb
Shared Sub Main()
    DevExpress.Data.AsyncDownloadPolicy.SuppressAll()
    Application.Run(New Form1())
End Sub

Read the following topic for detailed information and examples: Suppress Control Requests to Download Data from External URLs.

See Also

ThrowAlways()

AsyncDownloadPolicy Class

AsyncDownloadPolicy Members

DevExpress.Data Namespace