InputFormatter.ReadRequestBodyAsync(InputFormatterContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads an object from the request body.
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)
Parameters
- context
- InputFormatterContext
Returns
A Task that on completion deserializes the request body.