OutputStream Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets a Stream object to which a response can be written.
Namespace: System.Net
Assembly: System.Http (in System.Http.dll)
Syntax
'Declaration
Public ReadOnly Property OutputStream As Stream
public Stream OutputStream { get; }
public:
property Stream^ OutputStream {
Stream^ get ();
}
member OutputStream : Stream with get
function get OutputStream () : Stream
Property Value
Type: System.IO. . :: . .Stream
A Stream object to which a response can be written.
Remarks
The ContentLength64 property must be set explicitly before writing to the returned Stream object.
Note
Closing the request does not close the stream returned by this property. When you no longer need the stream, you should close it by calling the Close method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.