Partager via


HttpRequest.ReadFormAsync(CancellationToken) Méthode

Définition

Lit le corps de la demande s’il s’agit d’un formulaire.

public abstract System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IFormCollection> ReadFormAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ReadFormAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IFormCollection>
Public MustOverride Function ReadFormAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IFormCollection)

Paramètres

cancellationToken
CancellationToken

Retours

Exceptions

type de contenu incorrect.

S’applique à