Share via


IdentityErrorDescriber.InvalidEmail(String) Method

Definition

Returns an IdentityError indicating the specified email is invalid.

public:
 virtual Microsoft::AspNetCore::Identity::IdentityError ^ InvalidEmail(System::String ^ email);
public virtual Microsoft.AspNetCore.Identity.IdentityError InvalidEmail (string email);
public virtual Microsoft.AspNetCore.Identity.IdentityError InvalidEmail (string? email);
abstract member InvalidEmail : string -> Microsoft.AspNetCore.Identity.IdentityError
override this.InvalidEmail : string -> Microsoft.AspNetCore.Identity.IdentityError
Public Overridable Function InvalidEmail (email As String) As IdentityError

Parameters

email
String

The email that is invalid.

Returns

An IdentityError indicating the specified email is invalid.

Applies to