Class PreconditionRequiredException
- Namespace
- Cuemon.AspNetCore.Http
- Assembly
- Cuemon.AspNetCore.dll
The exception that is thrown when the origin server requires the request to be conditional.
public class PreconditionRequiredException : HttpStatusCodeException, ISerializable
- Inheritance
-
ObjectExceptionPreconditionRequiredException
- Implements
-
ISerializable
- Inherited Members
-
Exception.GetBaseException()Exception.GetType()Exception.DataException.HelpLinkException.HResultException.InnerExceptionException.MessageException.SourceException.StackTraceException.TargetSiteException.SerializeObjectState
Constructors
PreconditionRequiredException()
Initializes a new instance of the PreconditionRequiredException class.
public PreconditionRequiredException()
PreconditionRequiredException(Exception)
Initializes a new instance of the PreconditionRequiredException class.
public PreconditionRequiredException(Exception innerException)
Parameters
innerException
ExceptionThe exception that is the cause of the current exception.
PreconditionRequiredException(String, Exception)
Initializes a new instance of the PreconditionRequiredException class.
public PreconditionRequiredException(string message, Exception innerException = null)
Parameters
message
StringThe message that describes the HTTP status code.
innerException
ExceptionThe exception that is the cause of the current exception.