Mono Class Library: System.Net.Sockets.NetworkStream Overview | Members

System.Net.Sockets.NetworkStream.SetLength Method

Throws a NotSupportedException. [Edit]

public override void SetLength (long value)

Parameters

value
This parameter is not used. [Edit]

Exceptions

TypeReason
NotSupportedExceptionAny call to this method. [Edit]

Remarks

Note:

The System.IO.Stream base class uses this method to set the length of the data available on the stream. This functionality is not supported in the System.Net.Sockets.NetworkStream class.

This method overrides System.IO.Stream.SetLength(long).

[Edit]

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0