InputFormatter.ReadRequestBodyAsync(InputFormatterContext) 方法

定义

从请求正文中读取 对象。

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

参数

返回

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

适用于