Method ErrorMessage
ErrorMessage(IdentityResult)
Composes an error message from all error descriptions in the Microsoft.AspNetCore.Identity.IdentityResult.
Declaration
public static string ErrorMessage(this IdentityResult result)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Identity.IdentityResult |
result |
The Microsoft.AspNetCore.Identity.IdentityResult instance to extract error descriptions from. |
Returns
Type |
Description |
String |
Error message derived from error descriptions in result . If no error descriptions
are found, the returned string is empty.
|