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 HttpStatus

The HttpStatus type exposes the following members.

Constructors

 

Name

Description

HttpStatus Class 1:

HttpStatus(HttpStatusCode)

Initializes a new instance of the HttpStatus with the specified HttpStatusCode.

HttpStatus Class 2:

HttpStatus(HttpStatusCode, String)

Initializes a new instance of the HttpStatus with the specified HttpStatusCode and message.

HttpStatus Class 3:

HttpStatus(HttpStatusCode, Version)

Initializes a new instance of the HttpStatus with the specified HttpStatusCode and protocol Version.

HttpStatus Class 4:

HttpStatus(HttpStatusCode, String, Version)

Initializes a new instance of the HttpStatus with the specified HttpStatusCode, message and protocol Version.

Properties

 

Name

Description

HttpStatus Class 5:

Code

Gets the HttpStatusCode of the HttpStatus.

HttpStatus Class 6:

Message

Gets the message of the HttpStatus.

HttpStatus Class 7:

HttpStatus Class 8:

None

Gets an HttpStatus that represents none, for example, when returning a chunk of a chunked HTTP response.

HttpStatus Class 9:

ProtocolVersion

Gets the protocol Version of the HttpStatus.

Methods

 

Name

Description

HttpStatus Class 10:

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)

HttpStatus Class 11:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

HttpStatus Class 12:

HttpStatus Class 13:

FromHttpStatusCode

Converts an HttpStatusCode to the appropriate instance of the HttpStatus class.

HttpStatus Class 14:

GetHashCode

Serves as the default hash function.
(Inherited from Object)

HttpStatus Class 15:

GetType

Gets the Type of the current instance.
(Inherited from Object)

HttpStatus Class 16:

MemberwiseClone

Creates a shallow copy of the current Object.
(Inherited from Object)

HttpStatus Class 17:

HttpStatus Class 18:

RetrieveMessage

Retrieves the message for the specified HttpStatusCode.

HttpStatus Class 19:

HttpStatus Class 20:

ToHttpStatusCode

Converts the specified HttpStatus to the appropriate HttpStatusCode.

HttpStatus Class 21:

ToString

Returns a string that represents the current object.
(Overrides ObjectToString)

Operators

 

Name

Description

HttpStatus Class 22:

HttpStatus Class 23:

(HttpStatus to HttpStatusCode)

Converts an instance of the HttpStatus class to the appropriate HttpStatusCode.

HttpStatus Class 24:

HttpStatus Class 25:

(HttpStatusCode to HttpStatus)

Converts an HttpStatusCode to the appropriate instance of the HttpStatus class.

Fields

 

Name

Description

HttpStatus Class 26:

HttpStatus Class 27:

DefaultProtocolVersion

Gets the default HTTP protocol Version.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiSrv.Core.Tools.Net.Http Namespace

Copyright © Beckhoff Automation GmbH & Co. KG