{CompanyName} FlexyGo

AjaxError..::..AjaxWarning Method

Transform a warning in to a json result

Namespace:  FLEXYGO
Assembly:  FlexyGo (in FlexyGo.dll)

Syntax


public static Jerror AjaxWarning(
	string WarningTitle,
	string Message,
	Exception Exception,
	HttpResponseBase Response
)
Public Shared Function AjaxWarning ( _
	WarningTitle As String, _
	Message As String, _
	Exception As Exception, _
	Response As HttpResponseBase _
) As Jerror

Parameters

WarningTitle
Type: String
A Warning title to describe the exception's context
Message
Type: String
The warning message
Exception
Type: Exception
The exception to transform
Response
Type: HttpResponseBase
The response object to set the error status code

Return Value

Jerror.