WarningHeaderValue Constructor (Int32, String^, String^, DateTimeOffset)
.NET Framework (current version)
Initializes a new instance of the WarningHeaderValue class.
Assembly: System.Net.Http (in System.Net.Http.dll)
Parameters
- code
-
Type:
System::Int32
The specific warning code.
- agent
-
Type:
System::String^
The host that attached the warning.
- text
-
Type:
System::String^
A quoted-string containing the warning text.
- date
-
Type:
System::DateTimeOffset
The date/time stamp of the warning.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: