ViaHeaderValue Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ViaHeaderValue klasy.Initializes a new instance of the ViaHeaderValue class.

Przeciążenia

ViaHeaderValue(String, String)

Inicjuje nowe wystąpienie klasy ViaHeaderValue klasy.Initializes a new instance of the ViaHeaderValue class.

ViaHeaderValue(String, String, String)

Inicjuje nowe wystąpienie klasy ViaHeaderValue klasy.Initializes a new instance of the ViaHeaderValue class.

ViaHeaderValue(String, String, String, String)

Inicjuje nowe wystąpienie klasy ViaHeaderValue klasy.Initializes a new instance of the ViaHeaderValue class.

ViaHeaderValue(String, String)

Inicjuje nowe wystąpienie klasy ViaHeaderValue klasy.Initializes a new instance of the ViaHeaderValue class.

public:
 ViaHeaderValue(System::String ^ protocolVersion, System::String ^ receivedBy);
public ViaHeaderValue (string protocolVersion, string receivedBy);
new System.Net.Http.Headers.ViaHeaderValue : string * string -> System.Net.Http.Headers.ViaHeaderValue
Public Sub New (protocolVersion As String, receivedBy As String)

Parametry

protocolVersion
String

Wersja protokołu dla odebranego protokołu.The protocol version of the received protocol.

receivedBy
String

Host i port odebrane przez żądanie lub odpowiedź.The host and port that the request or response was received by.

ViaHeaderValue(String, String, String)

Inicjuje nowe wystąpienie klasy ViaHeaderValue klasy.Initializes a new instance of the ViaHeaderValue class.

public:
 ViaHeaderValue(System::String ^ protocolVersion, System::String ^ receivedBy, System::String ^ protocolName);
public ViaHeaderValue (string protocolVersion, string receivedBy, string protocolName);
new System.Net.Http.Headers.ViaHeaderValue : string * string * string -> System.Net.Http.Headers.ViaHeaderValue
Public Sub New (protocolVersion As String, receivedBy As String, protocolName As String)

Parametry

protocolVersion
String

Wersja protokołu dla odebranego protokołu.The protocol version of the received protocol.

receivedBy
String

Host i port odebrane przez żądanie lub odpowiedź.The host and port that the request or response was received by.

protocolName
String

Nazwa protokołu dla odebranego protokołu.The protocol name of the received protocol.

ViaHeaderValue(String, String, String, String)

Inicjuje nowe wystąpienie klasy ViaHeaderValue klasy.Initializes a new instance of the ViaHeaderValue class.

public:
 ViaHeaderValue(System::String ^ protocolVersion, System::String ^ receivedBy, System::String ^ protocolName, System::String ^ comment);
public ViaHeaderValue (string protocolVersion, string receivedBy, string protocolName, string comment);
new System.Net.Http.Headers.ViaHeaderValue : string * string * string * string -> System.Net.Http.Headers.ViaHeaderValue
Public Sub New (protocolVersion As String, receivedBy As String, protocolName As String, comment As String)

Parametry

protocolVersion
String

Wersja protokołu dla odebranego protokołu.The protocol version of the received protocol.

receivedBy
String

Host i port odebrane przez żądanie lub odpowiedź.The host and port that the request or response was received by.

protocolName
String

Nazwa protokołu dla odebranego protokołu.The protocol name of the received protocol.

comment
String

Pole komentarz służy do identyfikowania oprogramowania serwera proxy lub bramy odbiorcy.The comment field used to identify the software of the recipient proxy or gateway.

Dotyczy