Class UserAgentException
- Namespace
- Cuemon.AspNetCore.Http.Headers
- Assembly
- Cuemon.AspNetCore.dll
The exception that is thrown when the requirements of an HTTP User-Agent header is not meet.
public class UserAgentException : HttpStatusCodeException, ISerializable
- Inheritance
-
UserAgentException
- Implements
- Inherited Members
Constructors
UserAgentException(Int32, String)
Initializes a new instance of the UserAgentException class.
public UserAgentException(int statusCode, string message)
Parameters
statusCode
Int32The HTTP status code to associate with this exception.
message
StringThe message that describes the HTTP status code.