Click or drag to resize

HttpServerResponseSendError Method

Overload List
 NameDescription
Public methodSendError(Int32, String) Wraps the provided error message into an HTML document and puts the resulting document into ContentBytes. This method always sets the ResponseText to ERROR.
Public methodSendError(Int32, String, Exception) Wraps the provided System.Exception object, including the exception type name, exception message and full stacktrace into an HTML document and puts the resulting document into ContentBytes.
Public methodSendError(Int32, String, String) Wraps the provided error message into an HTML document and puts the resulting document into ContentBytes.
Top
See Also