HttpStatus MembersC# API

The HttpStatus type exposes the following members.
Constructors

  NameDescription
Public methodHttpStatus
For internal use only. Of no interest to the user.
Back to Top
Methods

  NameDescription
Public methodDispose
Releases all resources used by the HttpStatus
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFind(Int32)
Finds the HttpStatus with the specified code.
Public methodStatic memberFind(String)
Finds the HttpStatus with the specified code.
Public methodStatic membergetCPtr
For internal use only. Of no interest to the user.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsInRange
Determines whether this HttpStatus is ordered between the specified pair of HttpStatus objects.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides Object ToString .)
Back to Top
Properties

  NameDescription
Public propertyStatic memberACCEPTED
202 Accepted
Public propertyStatic memberAMBIGUOUS
300 Multiple Choices
Public propertyStatic memberBAD_GATEWAY
502 Bad Gateway
Public propertyStatic memberBAD_REQUEST
400 Bad Request
Public propertyCode
Gets the numeric code for this HttpStatus.
Public propertyStatic memberCONFLICT
409 Conflict
Public propertyStatic memberCONTINUE
100 Continue
Public propertyStatic memberCREATED
201 Created
Public propertyStatic memberDENIED
401 Unauthorized
Public propertyDescription
Gets the text that describes the status.
Public propertyStatic memberFORBIDDEN
403 Forbidden
Public propertyStatic memberGATEWAY_TIMEOUT
504 Gateway Timeout
Public propertyStatic memberGONE
410 Gone
Public propertyIsAuthenticationRequired
Gets a value that indicates whether this HttpStatus represents a request from the server for the caller to authenticate themselves.
Public propertyIsError
Gets a value that indicates whether this HttpStatus has a code of 400 or above
Public propertyIsFullfilled
Gets a value that indicates whether the request has been generally satisfied.
Public propertyIsInformational
Gets a value that indicates whether this HttpStatus has a code in the 100s.
Public propertyIsPossibleToCache
Gets a value that indicates whether this HttpStatus could cause the state of the cache to change.
Public propertyIsRedirection
Gets a value that indicates whether this HttpStatus has a code in the 300s.
Public propertyIsSuccess
Gets a value that indicates whether this HttpStatus has a code in the 200s.
Public propertyIsValid
Gets a value that indicates whether this HttpStatus represents a known standard response status.
Public propertyStatic memberLENGTH_REQUIRED
411 Length Required
Public propertyStatic memberMETHOD_NOT_ALLOWED
405 Method Not Allowed
Public propertyStatic memberMOVED_PERMANENTLY
301 Moved Permanently
Public propertyName
Gets the recommended text that is to be displayed next to the numeric code at the top of the response.
Public propertyStatic memberNO_CONTENT
204 No Content
Public propertyStatic memberNONAUTHORITATIVE_INFO
203 Non-Authoritative Information
Public propertyStatic memberNOT_ACCEPTABLE
406 Not Acceptable
Public propertyStatic memberNOT_FOUND
404 Not Found
Public propertyStatic memberNOT_MODIFIED
304 Not Modified
Public propertyStatic memberNOT_SET
No HTTP status code was received from the server.
Public propertyStatic memberNOT_SUPPORTED
501 Not Implemented
Public propertyStatic memberOK
200 OK
Public propertyStatic memberPARTIAL_CONTENT
206 Partial Content
Public propertyStatic memberPAYMENT_REQUIRED
402 Payment Required
Public propertyStatic memberPRECOND_FAILED
412 Precondition Failed
Public propertyStatic memberPROXY_AUTH_REQUIRED
407 Proxy Authentication Required
Public propertyStatic memberREDIRECT
302 Found
Public propertyStatic memberREDIRECT_KEEP_VERB
307 Temporary Redirect
Public propertyStatic memberREDIRECT_METHOD
303 See Other
Public propertyStatic memberREQUEST_TIMEOUT
408 Request Timeout
Public propertyStatic memberREQUEST_TOO_LARGE
413 Request Entity Too Large
Public propertyStatic memberRESET_CONTENT
205 Reset Content
Public propertyStatic memberRETRY_WITH
449 Retry With
Public propertyStatic memberSERVER_ERROR
500 Internal Server Error
Public propertyStatic memberSERVICE_UNAVAILABLE
503 Service Unavailable
Public propertyStatic memberSWITCH_PROTOCOLS
101 Switching Protocols
Public propertyStatic memberUNSUPPORTED_MEDIA
415 Unsupported Media Type
Public propertyStatic memberURI_TOO_LONG
414 Request-URI Too Long
Public propertyStatic memberUSE_PROXY
305 Use Proxy
Public propertyStatic memberVERSION_NOT_SUPPORTED
505 HTTP Version Not Supported
Back to Top
See Also