Bagikan melalui


IInputFormatter.ReadAsync(InputFormatterContext) Metode

Definisi

Membaca objek dari isi permintaan.

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Mvc::Formatters::InputFormatterResult ^> ^ ReadAsync(Microsoft::AspNetCore::Mvc::Formatters::InputFormatterContext ^ context);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult> ReadAsync (Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context);
abstract member ReadAsync : Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult>
Public Function ReadAsync (context As InputFormatterContext) As Task(Of InputFormatterResult)

Parameter

Mengembalikan

Task yang pada penyelesaian mendeserialisasi isi permintaan.

Berlaku untuk