ILoginErrorAccessor.GetMessage(HttpContext) Method

Definition

Gets the error message for the current request.

public string? GetMessage (Microsoft.AspNetCore.Http.HttpContext context);
abstract member GetMessage : Microsoft.AspNetCore.Http.HttpContext -> string
Public Function GetMessage (context As HttpContext) As String

Parameters

context
Microsoft.AspNetCore.Http.HttpContext

Current Microsoft.AspNetCore.Http.HttpContext.

Returns

System.String

The current error message if available.

Applies to