ProtocolException(String, ProtocolErrorType, Exception) Constructor

Initializes a new instance of the ProtocolException class.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
protected ProtocolException(
	string message,
	ProtocolErrorType errorType,
	Exception innerException
)

Parameters

message  String
The error message.
errorType  ProtocolErrorType
The type of protocol error.
innerException  Exception
An inner exception.

Remarks

Creates a new ProtocolException.

See Also