WarningHeaderValue Constructor (Int32, String, String)
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 _
)
'Usage
Dim code As Integer
Dim agent As String
Dim text As String
Dim instance As New WarningHeaderValue(code, agent, _
text)
public WarningHeaderValue(
int code,
string agent,
string text
)
public:
WarningHeaderValue(
int code,
String^ agent,
String^ text
)
new :
code:int *
agent:string *
text:string -> WarningHeaderValue
public function WarningHeaderValue(
code : int,
agent : String,
text : String
)
Parameters
- code
Type: System.Int32
- agent
Type: System.String
- text
Type: System.String