NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

NetworkStream.SetLength

Sets the length of the stream. Always throws System..NotSupportedException.

[Visual Basic]
Overrides Public Sub SetLength( _
   ByVal value As Long _
)
[C#]
public override void SetLength(
   long value
);
[C++]
public: override void SetLength(
   __int64 value
);
[JScript]
public override function SetLength(
   value : long
);

Parameters

value
[To be supplied.]

Exceptions

Exception Type Condition
NotSupportedException Any access.

See Also

NetworkStream Class | NetworkStream Members | System.Net.Sockets Namespace