WarningHeaderValue Construtores
Definição
Inicializa uma nova instância da classe WarningHeaderValue.Initializes a new instance of the WarningHeaderValue class.
Sobrecargas
| WarningHeaderValue(Int32, String, String) |
Inicializa uma nova instância da classe WarningHeaderValue.Initializes a new instance of the WarningHeaderValue class. |
| WarningHeaderValue(Int32, String, String, DateTimeOffset) |
Inicializa uma nova instância da classe WarningHeaderValue.Initializes a new instance of the WarningHeaderValue class. |
WarningHeaderValue(Int32, String, String)
Inicializa uma nova instância da classe WarningHeaderValue.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)
Parâmetros
- code
- Int32
O código de aviso específico.The specific warning code.
- agent
- String
O host que anexou o aviso.The host that attached the warning.
- text
- String
Uma cadeia de caracteres entre aspas que contém o texto de aviso.A quoted-string containing the warning text.
Aplica-se a
WarningHeaderValue(Int32, String, String, DateTimeOffset)
Inicializa uma nova instância da classe WarningHeaderValue.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)
Parâmetros
- code
- Int32
O código de aviso específico.The specific warning code.
- agent
- String
O host que anexou o aviso.The host that attached the warning.
- text
- String
Uma cadeia de caracteres entre aspas que contém o texto de aviso.A quoted-string containing the warning text.
- date
- DateTimeOffset
O carimbo de data/hora do aviso.The date/time stamp of the warning.