WarningHeaderValue Constructor (Int32, String, String, DateTimeOffset)
Initializes a new instance of the WarningHeaderValue class.
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Public Sub New ( _
code As Integer, _
agent As String, _
text As String, _
date As DateTimeOffset _
)
'Usage
Dim code As Integer
Dim agent As String
Dim text As String
Dim date As DateTimeOffset
Dim instance As New WarningHeaderValue(code, agent, _
text, date)
public WarningHeaderValue(
int code,
string agent,
string text,
DateTimeOffset date
)
public:
WarningHeaderValue(
int code,
String^ agent,
String^ text,
DateTimeOffset date
)
new :
code:int *
agent:string *
text:string *
date:DateTimeOffset -> WarningHeaderValue
public function WarningHeaderValue(
code : int,
agent : String,
text : String,
date : DateTimeOffset
)
Parameters
- code
Type: System.Int32
- agent
Type: System.String
- text
Type: System.String
- date
Type: System.DateTimeOffset