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.

Namespace:  Rebex.Net
Assembly:  Rebex.Pop3 (in Rebex.Pop3.dll)

Syntax

Visual Basic
Public Sub New ( _
	message As String, _
	innerException As Exception, _
	status As Pop3ExceptionStatus _
)
C#
public Pop3Exception(
	string message,
	Exception innerException,
	Pop3ExceptionStatus status
)

Parameters

message
Type: System..::..String
The message that describes the error.
innerException
Type: System..::..Exception
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.
status
Type: Rebex.Net..::..Pop3ExceptionStatus
One of the Pop3ExceptionStatus values.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also