Assembly: System (in System.dll)
The stream is in a .NET Compact Framework application and one of the following methods was called:
The .NET Compact Framework does not support the asynchronous model with base streams.
Any open serial port's property returns an object that derives from the abstract Stream class, and implements read and write methods using the prototypes inherited from the Stream class: BeginRead, BeginWrite, Read, ReadByte, Write, and WriteByte. These methods can be useful when passing a wrapped serial resource to a Stream wrapper class.