HttpStatus Class
Represents an HTTP status.
Inheritance Hierarchy
SystemObject
TcHmiSrv.Core.Tools.Net.HttpHttpStatus
Namespace: TcHmiSrv.Core.Tools.Net.Http
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
Syntax
C#
public class HttpStatusThe HttpStatus type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Initializes a new instance of the HttpStatus with the specified HttpStatusCode. | |
|
|
Initializes a new instance of the HttpStatus with the specified HttpStatusCode and message. | |
|
|
Initializes a new instance of the HttpStatus with the specified HttpStatusCode and protocol Version. | |
|
|
Initializes a new instance of the HttpStatus with the specified HttpStatusCode, message and protocol Version. |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the HttpStatusCode of the HttpStatus. | |
|
|
Gets the message of the HttpStatus. | |
|
|
Gets an HttpStatus that represents none, for example, when returning a chunk of a chunked HTTP response. | |
|
|
Gets the protocol Version of the HttpStatus. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Converts an HttpStatusCode to the appropriate instance of the HttpStatus class. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Retrieves the message for the specified HttpStatusCode. | |
|
|
Converts the specified HttpStatus to the appropriate HttpStatusCode. | |
|
|
Returns a string that represents the current object. |
Operators
|
|
Name |
Description |
|---|---|---|
|
|
Converts an instance of the HttpStatus class to the appropriate HttpStatusCode. | |
|
|
Converts an HttpStatusCode to the appropriate instance of the HttpStatus class. |
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0