System.Net.UploadDataCompletedEventArgs.Result Property

Gets the server reply to a data upload operation started by calling an erload:System.Net.WebClient.UploadDataAsync 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 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 UploadDataCompletedEventArgs.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