Share via


AuthenticationHeaderValue.Parse(String) 方法

定義

將字串轉換為 AuthenticationHeaderValue 執行個體。

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

參數

input
String

表示驗證標頭值資訊的字串。

傳回

AuthenticationHeaderValue 執行個體。

例外狀況

inputnull 參考。

input 不是有效的驗證標頭值資訊。

適用於