Sdílet prostřednictvím


InputFormatter.ReadRequestBodyAsync(InputFormatterContext) Metoda

Definice

Načte objekt z textu požadavku.

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)

Parametry

Návraty

A Task , která při dokončení deserializuje text žádosti.

Platí pro