NetworkStream.SetLength Method (Int64)

 

Sets the length of the stream. This method always throws a NotSupportedException.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

public override void SetLength(
	long value
)

Parameters

value
Type: System.Int64

This parameter is not used.

Exception Condition
NotSupportedException

Any use of this property.

.NET Framework
Available since 1.1
Return to top
Show: