'Declaration
Public Sub ReturnError( _ ByVal Code As HttpStatusCode, _ ByVal ErrorMessage As String _ )
'Usage
Dim instance As WadoEventArgs Dim Code As HttpStatusCode Dim ErrorMessage As String instance.ReturnError(Code, ErrorMessage)
public void ReturnError( HttpStatusCode Code, string ErrorMessage )
public: void ReturnError( HttpStatusCode Code, String^ ErrorMessage )
Parameters
- Code
- HttpStatusCode to return to web client
- ErrorMessage
- Custom Error Message to return to Web Client