Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets error after validation.
Namespace: Microsoft.Owin.Security.OAuth
Assembly: Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)
Syntax
'Declaration
Public Sub SetError ( _
error As String, _
errorDescription As String _
)
'Usage
Dim instance As BaseValidatingContext
Dim error As String
Dim errorDescription As String
instance.SetError(error, errorDescription)
public void SetError(
string error,
string errorDescription
)
public:
void SetError(
String^ error,
String^ errorDescription
)
member SetError :
error:string *
errorDescription:string -> unit
public function SetError(
error : String,
errorDescription : String
)
Parameters
- error
Type: System.String
The error.
- errorDescription
Type: System.String
The error description.