Επεξεργασία

Κοινή χρήση μέσω


WarningHeaderValue Constructors

Definition

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.

Applies to