Partilhar via


HttpRequest.ReadFormAsync(CancellationToken) Método

Definição

Lê o corpo da solicitação se for um formulário.

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)

Parâmetros

cancellationToken
CancellationToken

Retornos

Exceções

tipo de conteúdo incorreto.

Aplica-se a