Private Key Not Found Exception(Mailbox Address, String) Constructor
Initialize a new instance of the PrivateKeyNotFoundException class.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public PrivateKeyNotFoundException(
MailboxAddress mailbox,
string message
)Parameters
- mailbox MailboxAddress
- The mailbox that could not be resolved to a valid private key.
- message String
- A message explaining the error.
Remarks
Creates a new PrivateKeyNotFoundException.
Exceptions
| ArgumentNullException | mailbox is . |