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)

public WarningHeaderValue(
	int code,
	string agent,
	string text,
	DateTimeOffset date
)

Parameters

code
Type: System.Int32
agent
Type: System.String
text
Type: System.String
date
Type: System.DateTimeOffset
Show: