PrivateKeyNotFoundException(MailboxAddress, 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
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

Exceptions

ArgumentNullException mailbox is .

See Also