EmailValidatorBeginValidate Method |
Begins an asynchronous validating process for an email address.
Namespace:
Aspose.Email.Tools.Verifications
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax public IAsyncResult BeginValidate(
string mailAddress,
ValidationPolicy policy,
out ValidationResult result,
AsyncCallback asyncCallback,
Object stateObject
)
Public Function BeginValidate (
mailAddress As String,
policy As ValidationPolicy,
<OutAttribute> ByRef result As ValidationResult,
asyncCallback As AsyncCallback,
stateObject As Object
) As IAsyncResult
public:
IAsyncResult^ BeginValidate(
String^ mailAddress,
ValidationPolicy policy,
[OutAttribute] ValidationResult^% result,
AsyncCallback^ asyncCallback,
Object^ stateObject
)
member BeginValidate :
mailAddress : string *
policy : ValidationPolicy *
result : ValidationResult byref *
asyncCallback : AsyncCallback *
stateObject : Object -> IAsyncResult
Parameters
- mailAddress
- Type: SystemString
The email address to be validated. - policy
- Type: Aspose.Email.Tools.VerificationsValidationPolicy
The policy of the validating process. - result
- Type: Aspose.Email.Tools.VerificationsValidationResult
The result of the validating process. - asyncCallback
- Type: SystemAsyncCallback
The AsyncCallback delegate - stateObject
- Type: SystemObject
An object that contains state information for this request.
Return Value
Type:
IAsyncResultAn IAsyncResult that references the asynchronous connection.
See Also