Share via


HttpChallengeHeaderValue.TryParse(String, HttpChallengeHeaderValue) Method

Definition

Determines whether a string is valid HttpChallengeHeaderValue information.

public:
 static bool TryParse(Platform::String ^ input, [Out] HttpChallengeHeaderValue ^ & challengeHeaderValue);
 static bool TryParse(winrt::hstring const& input, [Out] HttpChallengeHeaderValue const& & challengeHeaderValue);
public static bool TryParse(string input, out HttpChallengeHeaderValue challengeHeaderValue);
Public Shared Function TryParse (input As String, ByRef challengeHeaderValue As HttpChallengeHeaderValue) As Boolean

Parameters

input
String

Platform::String

winrt::hstring

The string to validate.

challengeHeaderValue
HttpChallengeHeaderValue

The HttpChallengeHeaderValue version of the string.

Returns

Boolean

bool

true if input is valid HttpChallengeHeaderValue information; otherwise, false.

Applies to