Share via


BaseValidatingContext<TOptions>.HasError Property

Gets a value that indicates whether the authentication has an error.

Namespace:  Microsoft.Owin.Security.OAuth
Assembly:  Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)

Syntax

'Declaration
Public Property HasError As Boolean 
    Get 
    Private Set
'Usage
Dim instance As BaseValidatingContext 
Dim value As Boolean 

value = instance.HasError
public bool HasError { get; private set; }
public:
property bool HasError {
    bool get ();
    private: void set (bool value);
}
member HasError : bool with get, private set
function get HasError () : boolean 
private function set HasError (value : boolean)

Property Value

Type: System.Boolean
true if the authentication has an error; otherwise, false.

See Also

Reference

BaseValidatingContext<TOptions> Class

Microsoft.Owin.Security.OAuth Namespace