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)
469SendError(_context.ErrorMessage, _context.ErrorStatus);
System\Net\Managed\HttpListenerContext.Managed.cs (1)
29internal bool HaveError => ErrorMessage != null;
System\Net\Managed\HttpListenerRequest.Managed.cs (1)
249if (_context.ErrorMessage == null)