Method ErrorDescriptions
ErrorDescriptions(IdentityResult)
Retrieves all error descriptions from the Microsoft.AspNetCore.Identity.IdentityResult as a list.
Declaration
public static IList<string> ErrorDescriptions(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 |
| System.Collections.Generic.IList<String> |
List of all non-empty error descriptions from the provided result. |