Dela via


IInputFormatter.ReadAsync(InputFormatterContext) Method

Definition

Reads an object from the request body.

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)

Parameters

Returns

A Task that on completion deserializes the request body.

Applies to