HttpRequest.ReadFormAsync(CancellationToken) Methode

Definition

Liest den Anforderungstext, wenn es sich um ein Formular handelt.

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)

Parameter

cancellationToken
CancellationToken

Gibt zurück

Ausnahmen

falscher Inhaltstyp.

Gilt für: