System.Net.UploadValuesCompletedEventArgs.Result Property

Gets the server reply to a data upload operation started by calling an erload:System.Net.WebClient.UploadValuesAsync 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 to determine whether the upload completed. 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 UploadValuesCompletedEventArgs.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