Click or drag to resize
MimeKit

SaslException(String, SaslErrorCode, String) Constructor

Initializes a new instance of the SaslException class.

Namespace: MailKit.Security
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
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.
Exceptions
ExceptionCondition
ArgumentNullExceptionmechanism is null.
Remarks
Creates a new SaslException.
See Also