AuthenticationHeaderValue.Parse(String) Metod

Definition

Konverterar en sträng till en AuthenticationHeaderValue instans.

public:
 static System::Net::Http::Headers::AuthenticationHeaderValue ^ Parse(System::String ^ input);
public static System.Net.Http.Headers.AuthenticationHeaderValue Parse(string input);
public static System.Net.Http.Headers.AuthenticationHeaderValue Parse(string? input);
static member Parse : string -> System.Net.Http.Headers.AuthenticationHeaderValue
Public Shared Function Parse (input As String) As AuthenticationHeaderValue

Parametrar

input
String

En sträng som representerar autentiseringshuvudets värdeinformation.

Returer

En AuthenticationHeaderValue instans.

Undantag

input är en null referens.

input är inte giltig värdeinformation för autentiseringshuvudet.

Gäller för