Bewerken

Share via


ViaHeaderValue Constructors

Definition

Initializes a new instance of the ViaHeaderValue class.

Overloads

ViaHeaderValue(String, String)

Initializes a new instance of the ViaHeaderValue class.

ViaHeaderValue(String, String, String)

Initializes a new instance of the ViaHeaderValue class.

ViaHeaderValue(String, String, String, String)

Initializes a new instance of the ViaHeaderValue class.

ViaHeaderValue(String, String)

Source:
ViaHeaderValue.cs
Source:
ViaHeaderValue.cs
Source:
ViaHeaderValue.cs

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)

Parameters

protocolVersion
String

The protocol version of the received protocol.

receivedBy
String

The host and port that the request or response was received by.

Applies to

ViaHeaderValue(String, String, String)

Source:
ViaHeaderValue.cs
Source:
ViaHeaderValue.cs
Source:
ViaHeaderValue.cs

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);
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)

Parameters

protocolVersion
String

The protocol version of the received protocol.

receivedBy
String

The host and port that the request or response was received by.

protocolName
String

The protocol name of the received protocol.

Applies to

ViaHeaderValue(String, String, String, String)

Source:
ViaHeaderValue.cs
Source:
ViaHeaderValue.cs
Source:
ViaHeaderValue.cs

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);
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)

Parameters

protocolVersion
String

The protocol version of the received protocol.

receivedBy
String

The host and port that the request or response was received by.

protocolName
String

The protocol name of the received protocol.

comment
String

The comment field used to identify the software of the recipient proxy or gateway.

Applies to