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.
Gets the error message for claims authentication.
Namespace: Microsoft.SharePoint.IdentityModel.Pages
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Protected Function GetErrorMessage ( _
request As HttpRequest _
) As String
'Usage
Dim request As HttpRequest
Dim returnValue As String
returnValue = Me.GetErrorMessage(request)
protected string GetErrorMessage(
HttpRequest request
)
Parameters
request
Type: System.Web.HttpRequestThe HTTP request to be retrieved.
Return Value
Type: System.String
The error message for claims authentication.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The request is null . |
Remarks
If the request method is GET, this method returns the error message based on the error code from the HTTP request; otherwise, it returns null .