Compartir a través de


HttpRequest.ReadFormAsync(CancellationToken) Método

Definición

Lee el cuerpo de la solicitud si es un formulario.

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

Devoluciones

Excepciones

tipo de contenido incorrecto.

Se aplica a