EmailAddressValidatorRaiseEvents Property
Gets or sets whether the component will raise any events.

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

Property Value

Type: Boolean
A bool value indicating whether the component will raise any events. The default value is true.

If this propery is false, OnEventName methods will also not be called. Also, you'll be unable to check verification statuses of e-mail addresses in the bulk as Verified event will not be called. Setting RaiseEvents to false can make sense only for debugging purposes.

If you get lockups when enabling events in WinForms apps, the message loop of your application may be blocked. If you cannot unblock it for some reason, consider inheriting EmailAddressValidator class and overriding OnVerified(VerifiedEventArgs) method.

See Also