13 writes to ErrorMessage
System.Net.HttpListener (13)
System\Net\Managed\HttpConnection.cs (2)
368
_context.
ErrorMessage
= HttpStatusDescription.Get(400)!;
397
_context.
ErrorMessage
= e.Message;
System\Net\Managed\HttpListenerRequest.Managed.cs (11)
82
_context.
ErrorMessage
= "Invalid request line (parts).";
89
_context.
ErrorMessage
= "(Invalid verb)";
98
_context.
ErrorMessage
= "Invalid request line (version).";
108
_context.
ErrorMessage
= "Invalid request line (version).";
114
_context.
ErrorMessage
= "Invalid request line (version).";
120
_context.
ErrorMessage
= HttpStatusDescription.Get(HttpStatusCode.HttpVersionNotSupported);
146
_context.
ErrorMessage
= "Invalid host name";
172
_context.
ErrorMessage
= WebUtility.HtmlEncode("Invalid url: " + base_uri + path);
213
_context.
ErrorMessage
= HttpStatusDescription.Get(400);
232
_context.
ErrorMessage
= "Invalid Content-Length.";
245
_context.
ErrorMessage
= HttpStatusDescription.Get(HttpStatusCode.NotImplemented);
3 references to ErrorMessage
System.Net.HttpListener (3)
System\Net\Managed\HttpConnection.cs (1)
469
SendError(_context.
ErrorMessage
, _context.ErrorStatus);
System\Net\Managed\HttpListenerContext.Managed.cs (1)
29
internal bool HaveError =>
ErrorMessage
!= null;
System\Net\Managed\HttpListenerRequest.Managed.cs (1)
249
if (_context.
ErrorMessage
== null)