Class
HttpRequestException
Represents an exception that is thrown while a request is being interpreted by the HTTP server.
public sealed class HttpRequestException : Exception, ISerializableInheritance #
object ← Exception ← HttpRequestException
Implements #
Inherited Members #
Exception.GetBaseException(), Exception.ToString(), Exception.GetType(), Exception.TargetSite, Exception.Message, Exception.Data, Exception.InnerException, Exception.HelpLink, Exception.Source, Exception.HResult, Exception.StackTrace, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors #
| Name | Description |
|---|---|
| HttpRequestException(string) | Initializes a new instance of the HttpRequestException class with a specified error message. |
| HttpRequestException(string, Exception?) | Initializes a new instance of the HttpRequestException class with a specified error message and a reference to the inner exception that is the cause of this exception. |