Click or drag to resize

DavStatus Structure

IT Hit WebDAV Classes Reference
Represents HTTP status code with description.

Namespace:  ITHit.WebDAV.Server
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 9.1.5460-Beta
Syntax
public struct DavStatus : IEquatable<DavStatus>

The DavStatus type exposes the following members.

Constructors
  NameDescription
Public methodDavStatus
Initializes a new instance of the DavStatus struct.
Top
Properties
  NameDescription
Public propertyCode
HTTP status code.
Public propertyDescription
Status description.
Public propertyHttpString
Formats status as HTTP string.
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(DavStatus)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Equality operator.
Public operatorStatic memberInequality
Unequality operator.
Top
Fields
  NameDescription
Public fieldStatic memberBAD_REQUEST
The request could not be understood by the server due to malformed syntax.
Public fieldStatic memberCONFLICT
The request could not be completed due to a conflict with the current state of the resource.
Public fieldStatic memberCREATED
The request has been fulfilled and resulted in a new resource being created.
Public fieldStatic memberFAILED_DEPENDENCY
This status code means that the method could not be performed on the resource because the requested action depended on another action and that action failed. For example, if a command in a PROPPATCH method fails, then, at minimum, the rest of the commands will also fail with 424 (Failed Dependency).
Public fieldStatic memberFORBIDDEN
The server understood the request, but is refusing to fulfill it.
Public fieldStatic memberFOUND
The requested resource resides temporarily under a different URI.
Public fieldStatic memberINSUFFICIENT_STORAGE
The 507 (Insufficient Storage) status code means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request.
Public fieldStatic memberINTERNAL_ERROR
The server encountered an unexpected condition which prevented it from fulfilling the request.
Public fieldStatic memberLOCKED
This status code means the source or destination resource of a method is locked.
Public fieldStatic memberMOVED_PERMANENTLY
The requested resource resides permanently under a different URI.
Public fieldStatic memberMULTISTATUS
The 207 (Multi-Status) status code provides status for multiple independent operations.
Public fieldStatic memberNO_CONTENT
The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation.
Public fieldStatic memberNOT_ALLOWED
The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.
Public fieldStatic memberNOT_FOUND
The server has not found anything matching the Request-URI.
Public fieldStatic memberNOT_IMPLEMENTED
The server does not support the functionality required to fulfill the request. This is the appropriate response when the server does not recognize the request method and is not capable of supporting it for any resource.
Public fieldStatic memberNOT_MODIFIED
If the client has performed a conditional GET request and access is allowed, but the document has not been modified, the server SHOULD respond with this status code.
Public fieldStatic memberOK
Successful result.
Public fieldStatic memberPARTIAL_CONTENT
The server has fulfilled the partial GET request for the resource.
Public fieldStatic memberPRECONDITION_FAILED
The precondition given in one or more of the request-header fields evaluated to false when it was tested on the server.
Public fieldStatic memberUNAUTHORIZED
The request requires user authentication.
Public fieldStatic memberUNSUPPORTED_MEDIA_TYPE
The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.
Top
See Also