Partager via


InputFormatter.ReadRequestBodyAsync(InputFormatterContext) Méthode

Définition

Lit un objet à partir du corps de la requête.

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)

Paramètres

Retours

Task qui à la fin désérialise le corps de la demande.

S’applique à