Share via


HttpTransferCodingHeaderValue.Parse(String) Method

Definition

Converts a string to an HttpTransferCodingHeaderValue instance.

public:
 static HttpTransferCodingHeaderValue ^ Parse(Platform::String ^ input);
 static HttpTransferCodingHeaderValue Parse(winrt::hstring const& input);
public static HttpTransferCodingHeaderValue Parse(string input);
function parse(input)
Public Shared Function Parse (input As String) As HttpTransferCodingHeaderValue

Parameters

input
String

Platform::String

winrt::hstring

A string that represents the transfer-coding information.

Returns

An HttpProductInfoHeaderValue instance.

Remarks

Below are the exceptions that this function throws.

E_INVALIDARG

The input parameter is null (Nothing in Visual Basic).

The input parameter is not valid transfer-coding information.

Applies to