Click or drag to resize
MimeKit

PublicKeyNotFoundException Class

An exception that is thrown when a public key could not be found for a specified mailbox.
Inheritance Hierarchy
SystemObject
  SystemException
    MimeKit.CryptographyPublicKeyNotFoundException

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
[SerializableAttribute]
public class PublicKeyNotFoundException : Exception

The PublicKeyNotFoundException type exposes the following members.

Constructors
 NameDescription
Public methodPublicKeyNotFoundException(MailboxAddress, String) Initialize a new instance of the PublicKeyNotFoundException class.
Protected methodPublicKeyNotFoundException(SerializationInfo, StreamingContext)Obsolete.
Initialize a new instance of the PublicKeyNotFoundException 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 propertyMailbox Gets the key id that could not be found.
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 When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Overrides ExceptionGetObjectData(SerializationInfo, StreamingContext))
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
An exception that is thrown when a public key could not be found for a specified mailbox.
See Also