Bagikan melalui


HttpRequest.ReadFormAsync(CancellationToken) Metode

Definisi

Membaca isi permintaan jika itu adalah formulir.

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

Mengembalikan

Pengecualian

jenis konten yang salah.

Berlaku untuk