Attach Method
Attaches to virtual serial port with non-standard name.
Syntax
Visual Basic .NET | Sub Attach() |
---|---|
Visual C# | void Attach(); |
Parameters
None.
Return
None.
Errors
The method may throw exception. Use GetLastError method to get the error code.
ftvspcErrorFailed | 1 | The operation has not been completed. |
---|---|---|
ftvspcErrorInvalidParameter | 2 | Invalid parameter. |
ftvspcErrorNoSuchPort | 101 | There is no such port. |
ftvspcErrorPortAttached | 200 | This port is already attached. |
ftvspcErrorMarkedForDeletion | 202 | This port is marked for deletion. |