Skip to main content
All docs
V25.1
  • AsyncDownloadPolicy.AsyncDownloaderCancelEventArgs.Uri Property

    Gets the processed resource identifier.

    Namespace: DevExpress.Data

    Assembly: DevExpress.Data.v25.1.dll

    NuGet Package: DevExpress.Data

    Declaration

    public Uri Uri { get; }

    Property Value

    Type Description
    Uri

    The resource identifier.

    Remarks

    void OnProbing(object sender, ProbingEventArgs e) {
        var shouldClose = XtraMessageBox.Show("Notification",
            "Probing the " + e.Uri.AbsoluteUri + " URL was detected. Close the connection?",
            MessageBoxButtons.YesNo);
        e.Cancel = (shouldClose == DialogResult.Yes) ? true : false;
    }
    

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

    See Also