private GetErrorResponseBody ( int statusCode, string message ) : string | ||
statusCode | int | |
message | string | |
리턴 | string |
string GetErrorResponseBody(int statusCode, string message)
{
string body = Messages.FormatErrorMessageBody(statusCode, _server.VirtualPath);
if (message != null && message.Length > 0) {
body += "\r\n<!--\r\n" + message + "\r\n-->";
}
return body;
}