IInputFormatter.ReadAsync(InputFormatterContext) 方法

定义

从请求正文中读取 对象。

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)

参数

返回

完成 Task 时反序列化请求正文的 。

适用于