EmailAddressValidatorRaiseEvents Property |
Gets or sets whether the component will raise any events.
Namespace: MailBee.AddressCheckAssembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntaxpublic bool RaiseEvents { get; set; }
Public Property RaiseEvents As Boolean
Get
Set
Property Value
Type:
BooleanA bool value indicating whether the component will raise any events.
The default value is
true.
RemarksIf 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)
event.
See Also