Click or drag to resize
MimeKit

AuthenticationException Class

The exception that is thrown when there is an authentication error.
Inheritance Hierarchy
SystemObject
  SystemException
    MailKit.SecurityAuthenticationException
      MailKit.SecuritySaslException

Namespace: MailKit.Security
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
[SerializableAttribute]
public class AuthenticationException : Exception

The AuthenticationException type exposes the following members.

Constructors
 NameDescription
Public methodAuthenticationException Initializes a new instance of the AuthenticationException class.
Public methodAuthenticationException(String) Initializes a new instance of the AuthenticationException class.
Protected methodAuthenticationException(SerializationInfo, StreamingContext) Initializes a new instance of the AuthenticationException class.
Public methodAuthenticationException(String, Exception) Initializes a new instance of the AuthenticationException class.
Top
Properties
 NameDescription
Public propertyData
(Inherited from Exception)
Public propertyHelpLink
(Inherited from Exception)
Public propertyHResult
(Inherited from Exception)
Public propertyInnerException
(Inherited from Exception)
Public propertyMessage
(Inherited from Exception)
Public propertySource
(Inherited from Exception)
Public propertyStackTrace
(Inherited from Exception)
Public propertyTargetSite
(Inherited from Exception)
Top
Methods
 NameDescription
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetBaseException
(Inherited from Exception)
Public methodGetHashCode
(Inherited from Object)
Public methodGetObjectData
(Inherited from Exception)
Public methodGetType
(Inherited from Exception)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString
(Inherited from Exception)
Top
Events
 NameDescription
Protected eventSerializeObjectState
(Inherited from Exception)
Top
Remarks
The exception that is thrown when there is an authentication error.
See Also