System.Net.OpenWriteCompletedEventArgs.Result Property

Gets a writable stream that is used to send data to a server.

Syntax

public System.IO.Stream 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 stream 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 OpenWriteCompletedEventArgs.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