Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
virtual void SetLength(
	long long value
) override

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:
© 2017 Microsoft