Sdílet prostřednictvím


HttpRequest.ReadFormAsync(CancellationToken) Metoda

Definice

Pokud se jedná o formulář, přečte text požadavku.

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)

Parametry

cancellationToken
CancellationToken

Návraty

Výjimky

nesprávný typ obsahu.

Platí pro