AuthenticationHeaderValue.Parse(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將字串轉換成實 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 例子。
例外狀況
input 是參考 null 。
input 不是有效的認證標頭值資訊。