ViaHeaderValue Constructor (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 _
)
'Usage
Dim protocolVersion As String
Dim receivedBy As String
Dim instance As New ViaHeaderValue(protocolVersion, _
receivedBy)
public ViaHeaderValue(
string protocolVersion,
string receivedBy
)
public:
ViaHeaderValue(
String^ protocolVersion,
String^ receivedBy
)
new :
protocolVersion:string *
receivedBy:string -> ViaHeaderValue
public function ViaHeaderValue(
protocolVersion : String,
receivedBy : String
)
Parameters
- protocolVersion
Type: System.String
- receivedBy
Type: System.String