[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Assembly: Microsoft.SPOT.Hardware.SerialPort (in Microsoft.SPOT.Hardware.SerialPort.dll)
Calling this method closes the SerialPort object and clears both the receive and transmit buffers. This method calls the method, which invokes the protected SerialPort..::..Dispose(Boolean) method with the disposing parameter set to true.
The best practice for any application is to wait for some amount of time after calling the method before attempting to call the Open method, as the port may not be closed instantly.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.