Share via


HttpChallengeHeaderValue.Parse(String) Method

Definition

Converts a string to an HttpChallengeHeaderValue instance.

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

Parameters

input
String

Platform::String

winrt::hstring

A string that represents authentication header value information.

Returns

An HttpChallengeHeaderValue instance.

Remarks

Below are exceptions that this function throws.

E_INVALIDARG

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

The input parameter is not valid authentication header information.

Applies to