System.Net.DownloadDataCompletedEventArgs.Result Property

Gets the data that is downloaded by a erload:System.Net.WebClient.DownloadDataAsync method.

Syntax

public byte[] Result { get; }

Value

Documentation for this section has not yet been entered.

Remarks

You should check the System.ComponentModel.AsyncCompletedEventArgs.Error and System.ComponentModel.AsyncCompletedEventArgs.Cancelled properties before using the data that is returned by this property. If the System.ComponentModel.AsyncCompletedEventArgs.Error property's value is an Exception object or the System.ComponentModel.AsyncCompletedEventArgs.Cancelled property's value is true, the asynchronous operation did not complete correctly and the DownloadDataCompletedEventArgs.Result property's value will not be valid.

Requirements

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