Pop3Exception Constructor
Namespace: Rebex.Net
Assembly: Rebex.Pop3.dll (version 7.0.9083)
Pop3Exception()
Initializes a new instance of the Pop3Exception class.
Declaration
public Pop3Exception()
Remarks
This constructor initializes the Message property of the new instance to a message that describes the general error.
Pop3Exception(String)
Initializes a new instance of the Pop3Exception class with the specified error message.
Declaration
public Pop3Exception(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Pop3Exception(String, Pop3ExceptionStatus)
Initializes a new instance of the Pop3Exception class with the specified error message and status.
Declaration
public Pop3Exception(string message, Pop3ExceptionStatus status)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Pop3ExceptionStatus | status | One of the Pop3ExceptionStatus values. |
Pop3Exception(String, Exception)
Initializes a new instance of the Pop3Exception class with the specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public Pop3Exception(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
Pop3Exception(String, Exception, Pop3ExceptionStatus)
Initializes a new instance of the Pop3Exception class with the specified error message, status, and a reference to the inner exception that is the cause of this exception.
Declaration
public Pop3Exception(string message, Exception innerException, Pop3ExceptionStatus status)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
Pop3ExceptionStatus | status | One of the Pop3ExceptionStatus values. |