System.Net.WebClient.DownloadStringCompleted Event

Occurs when an asynchronous resource-download operation completes.

Syntax

public event DownloadStringCompletedEventHandler DownloadStringCompleted

Remarks

This event is raised each time an asynchronous operation to download a resource as a string completes. These operations are started by calling the erload:System.Net.WebClient.DownloadStringAsync methods.

The System.Net.DownloadStringCompletedEventHandler is the delegate for this event. The System.Net.DownloadStringCompletedEventArgs 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