Runs CloseCommand()() method
Closes Connection
Namespace: Lesnikowski.Client
Assembly: Mail (in Mail.dll)
Version: 2.7.2897.36617
Syntax
| C# |
|---|
public void Close( bool throwExceptions ) |
| Visual Basic (Declaration) |
|---|
Public Sub Close ( _ throwExceptions As Boolean _ ) |
| Visual C++ |
|---|
public: void Close ( bool throwExceptions ) |
Parameters
- throwExceptions
- Boolean
If false does NOT throw exceptions.
Exceptions
| Exception | Condition |
|---|---|
| Lesnikowski.Client..::ServerException | Socket errors (only if 'throwExceptions==true'). Closes connection anyway. |
See Also
TcpTextClient Class
Lesnikowski.Client Namespace