CertificateThrowExceptions Property |
Gets or sets whether the object will throw exceptions on errors.
Namespace: MailBee.SecurityAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool ThrowExceptions { get; set; }
Public Property ThrowExceptions As Boolean
Get
Set
Property Value
Type:
BooleanA bool value indicating whether the object will throw exceptions
on errors. The default value is
true.
Remarks When exceptions are disabled and an error occurs, the object methods return
false
(or a null reference (
Nothing in Visual Basic) if the method normally returns
an object). You can use
LastResult members to get more information about the error.
Note |
---|
Even if this property is set to false, the exceptions which occur
due to errors in MailBee.NET usage will still be thrown.
Typical example of such errors is passing invalid arguments to methods. Such exceptions
indicate programming errors in the application being developed, and thus cannot be suppressed.
|
See Also