MailBee.NET Objects 4.0

IMailBeeSocketMustCloseException Interface

When implemented by an exception class, indicates the network exception is connection level (not application protocol level), so that the connection is no longer valid and will be closed.

public interface IMailBeeSocketMustCloseException

Types that implement IMailBeeSocketMustCloseException

Type Description
MailBeeInvalidBinaryResponseException The exception that is thrown when the binary response from the server cannot be parsed.
MailBeeAbortedByRemoteHostException The exception that is thrown when the remote host suddenly closes the connection.
MailBeeConnectionException An abstract parent for all connection-level exceptions which indicate the connection cannot be used any longer and must be immediately closed.
MailBeeInvalidResponseException An abstract parent for all exceptions which indicate that a response received from the server cannot be parsed.
MailBeeInvalidTextResponseException The exception that is thrown when the text response received from the server cannot be parsed, and the response data is available.
MailBeeInvalidTextResponseItemException The exception that is thrown when a particular element of the text response received from the server cannot be parsed, and the response data is available.
MailBeeSocketAbortedException The exception that is thrown when underlying socket operation receives abort request from the software on the local machine and throws SocketException.
MailBeeSocketException The exception that is thrown when underlying socket operation throws SocketException.
MailBeeSocketHostDownException The exception that is thrown when underlying socket operation detects a dead host and throws SocketException.
MailBeeSocketHostNotFoundException The exception that is thrown when underlying socket operation detects an unknown host and throws SocketException.
MailBeeSocketHostUnreachableException The exception that is thrown when underlying socket operation detects there is no known route to the host and throws SocketException.
MailBeeSocketObjectDisposedException The exception that is thrown when underlying socket operation unexpectedly throws ObjectDisposedException.
MailBeeSocketRefusedException The exception that is thrown when underlying socket operation detects the remote machine refused the connection (which usually means no server program is running on the remote host) and throws SocketException.
MailBeeSocketResetException The exception that is thrown when the connection was forcibly closed by the remote host so that underlying socket implementation throws SocketException.
MailBeeSocketTimeoutException The exception that is thrown when underlying socket operation encounters a timeout and throws SocketException.
MailBeeProxyAuthenticationException The exception that is thrown when the proxy server rejects authentication data sent the client or does not support any of the authentication methods supported by the client.
MailBeeProxyAuthorizationException The exception that is thrown when the proxy server rejects the proxy connection request from the client.
MailBeeProxyException An abstract parent for all exceptions that are thrown when the proxy server returns negative reply during negotiating with the client.
MailBeeSslWin32Exception The exception that is thrown when underlying Win32 Schannel implementation of TLS/SSL functions returns an error.

Remarks

Connection level network exceptions (timeout errors, unparseable server responses, socket exceptions, etc) make it impossible to continue using an existing connection. In contrast, application level network exceptions (such as negative responses from the server) do not require immediate disconnect. For instance, if login failed due to incorrect user account name and/or password, the connection may still be valid, and another login/password may be tried without reconnecting to the server.

Requirements

Namespace: MailBee

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBee Namespace