SaslException Constructor

Initializes a new instance of the SaslException class.

Definition

Namespace: MailKit.Security
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public SaslException(
	string mechanism,
	SaslErrorCode code,
	string message
)

Parameters

mechanism  String
The SASL mechanism.
code  SaslErrorCode
The error code.
message  String
The error message.

Remarks

Creates a new SaslException.

Exceptions

ArgumentNullException mechanism is .

See Also