Partage via


HttpExpectationHeaderValue.Parse(String) Méthode

Définition

Convertit une chaîne en un instance HttpExpectationHeaderValue.

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

Paramètres

input
String

Platform::String

winrt::hstring

Chaîne qui représente les informations de l’en-tête HTTP Expect .

Retours

Un instance HttpExpectationHeaderValue.

Remarques

Voici les exceptions levées par cette fonction.

E_INVALIDARG

Le paramètre d’entrée est null (Nothing en Visual Basic).

Le paramètre d’entrée n’est pas valide pour les informations d’attente.

S’applique à