Click or drag to resize

HttpServerResponseSendError(Int32, String, String) Method

Wraps the provided error message into an HTML document and puts the resulting document into ContentBytes.

Namespace: Crestron.SimplSharp.Net.Http
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public void SendError(
	int aCode,
	string aResponseText,
	string aMessage
)

Parameters

aCode  Int32
Int32 with HTTP response code.
aResponseText  String
String with HTTP response text.
aMessage  String
String to put into response document.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also