Class TextProtocolException
The base exception type for transport-level errors in a line-oriented text protocol (SMTP, POP3, IMAP). Thrown by DRIT.Mail.Rfc.Net.Transport.TextProtocolTransport when a socket-level read or write fails. Protocol clients catch this and re-throw as their own protocol-specific exception types so callers see a consistent exception hierarchy.
Inherited Members
Namespace: DRIT.Mail.Rfc.Net.Transport
Assembly: DRIT.Mail.dll
Syntax
public class TextProtocolException : Exception, ISerializable, _Exception
Constructors
View SourceTextProtocolException(string)
Initializes a new instance of the TextProtocolException class.
Declaration
public TextProtocolException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message to process. |
TextProtocolException(string, Exception)
Initializes a new instance of the TextProtocolException class.
Declaration
public TextProtocolException(string message, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message to process. |
| Exception | inner | Specifies the inner value. |