Share via


ViaHeaderValue Constructor (String, String, String, String)

Initializes a new instance of the ViaHeaderValue class.

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public Sub New ( _
    protocolVersion As String, _
    receivedBy As String, _
    protocolName As String, _
    comment As String _
)
'Usage
Dim protocolVersion As String 
Dim receivedBy As String 
Dim protocolName As String 
Dim comment As String 

Dim instance As New ViaHeaderValue(protocolVersion, _
    receivedBy, protocolName, comment)
public ViaHeaderValue(
    string protocolVersion,
    string receivedBy,
    string protocolName,
    string comment
)
public:
ViaHeaderValue(
    String^ protocolVersion, 
    String^ receivedBy, 
    String^ protocolName, 
    String^ comment
)
new : 
        protocolVersion:string * 
        receivedBy:string * 
        protocolName:string * 
        comment:string -> ViaHeaderValue
public function ViaHeaderValue(
    protocolVersion : String, 
    receivedBy : String, 
    protocolName : String, 
    comment : String
)

Parameters

See Also

Reference

ViaHeaderValue Class

ViaHeaderValue Overload

System.Net.Http.Headers Namespace