WarningHeaderValue Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the WarningHeaderValue class.
Overloads
WarningHeaderValue(Int32, String, String) |
Initializes a new instance of the WarningHeaderValue class. |
WarningHeaderValue(Int32, String, String, DateTimeOffset) |
Initializes a new instance of the WarningHeaderValue class. |
WarningHeaderValue(Int32, String, String)
- Source:
- WarningHeaderValue.cs
- Source:
- WarningHeaderValue.cs
- Source:
- WarningHeaderValue.cs
Initializes a new instance of the WarningHeaderValue class.
public:
WarningHeaderValue(int code, System::String ^ agent, System::String ^ text);
public WarningHeaderValue (int code, string agent, string text);
new System.Net.Http.Headers.WarningHeaderValue : int * string * string -> System.Net.Http.Headers.WarningHeaderValue
Public Sub New (code As Integer, agent As String, text As String)
Parameters
- code
- Int32
The specific warning code.
- agent
- String
The host that attached the warning.
- text
- String
A quoted-string containing the warning text.
Applies to
WarningHeaderValue(Int32, String, String, DateTimeOffset)
- Source:
- WarningHeaderValue.cs
- Source:
- WarningHeaderValue.cs
- Source:
- WarningHeaderValue.cs
Initializes a new instance of the WarningHeaderValue class.
public:
WarningHeaderValue(int code, System::String ^ agent, System::String ^ text, DateTimeOffset date);
public WarningHeaderValue (int code, string agent, string text, DateTimeOffset date);
new System.Net.Http.Headers.WarningHeaderValue : int * string * string * DateTimeOffset -> System.Net.Http.Headers.WarningHeaderValue
Public Sub New (code As Integer, agent As String, text As String, date As DateTimeOffset)
Parameters
- code
- Int32
The specific warning code.
- agent
- String
The host that attached the warning.
- text
- String
A quoted-string containing the warning text.
- date
- DateTimeOffset
The date/time stamp of the warning.