System.Net.WebClient.DownloadFileCompleted Event

Occurs when an asynchronous file download operation completes.

Syntax

public event System.ComponentModel.AsyncCompletedEventHandler DownloadFileCompleted

Remarks

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

The System.ComponentModel.AsyncCompletedEventHandler is the delegate for this event. The System.ComponentModel.AsyncCompletedEventArgs 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