Transform a security exception in json result
Namespace:
FLEXYGO
Assembly:
FlexyGo (in FlexyGo.dll)
public static Jerror AjaxSecurityException(
string ErrorTitle,
string Message,
HttpResponseBase Response
)
Public Shared Function AjaxSecurityException ( _
ErrorTitle As String, _
Message As String, _
Response As HttpResponseBase _
) As Jerror
Parameters
- ErrorTitle
- Type: String
An error title to describe the exception's context
- Message
- Type: String
The security error message
- Response
- Type: HttpResponseBase
The response object to set the error status code
Return Value
Jerror.