DomainKeysThrowExceptions Property
Gets or sets whether the object will throw exceptions on errors.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public bool ThrowExceptions { get; set; }

Property Value

Type: Boolean
true if the DomainKeys object will throw exceptions on errors; otherwise, false. The default value is true.
Remarks
If this property is set to true and an error occurs, an exception derived from MailBeeException is thrown. Otherwise, the exception will not occur but the method which caused will report error (returning false, null reference, etc). Anyway, the code of the last occurred error will be contained in the LastResult property. The list of all error codes is available in ErrorCodes class overview.
Examples
See Also