Partager via


WarningHeaderValue Class

Represents a warning value used by the Warning header.

Inheritance Hierarchy

System.Object
  System.Net.Http.Headers.WarningHeaderValue

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public Class WarningHeaderValue
'Usage
Dim instance As WarningHeaderValue
public class WarningHeaderValue
public ref class WarningHeaderValue
type WarningHeaderValue =  class end
public class WarningHeaderValue

The WarningHeaderValue type exposes the following members.

Constructors

  Name Description
Public method WarningHeaderValue(Int32, String, String) Initializes a new instance of the WarningHeaderValue class.
Public method WarningHeaderValue(Int32, String, String, DateTimeOffset) Initializes a new instance of the WarningHeaderValue class.

Top

Properties

  Name Description
Public property Agent Gets {insert text here}.
Public property Code Gets {insert text here}.
Public property Date Gets {insert text here}.
Public property Text Gets {insert text here}.

Top

Methods

  Name Description
Public method Equals (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member Parse
Public method ToString (Overrides Object.ToString().)
Public methodStatic member TryParse

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Net.Http.Headers Namespace