System.Net.WebClient.DownloadDataCompleted Event

Occurs when an asynchronous data download operation completes.

Syntax

public event DownloadDataCompletedEventHandler DownloadDataCompleted

Remarks

This event is raised each time an asynchronous data download operation completes. Asynchronous data downloads are started by calling the erload:System.Net.WebClient.DownloadDataAsync methods.

The System.Net.DownloadDataCompletedEventHandler is the delegate for this event. The System.Net.DownloadDataCompletedEventArgs class provides the event handler with event data.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0