Compartir a través de


TextInputFormatter.ReadRequestBodyAsync Método

Definición

Sobrecargas

ReadRequestBodyAsync(InputFormatterContext)

Lee un objeto del cuerpo de la solicitud.

ReadRequestBodyAsync(InputFormatterContext, Encoding)

Lee un objeto del cuerpo de la solicitud.

ReadRequestBodyAsync(InputFormatterContext)

Source:
TextInputFormatter.cs
Source:
TextInputFormatter.cs
Source:
TextInputFormatter.cs

Lee un objeto del cuerpo de la solicitud.

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

Parámetros

Devoluciones

que Task al finalizar deserializa el cuerpo de la solicitud.

Se aplica a

ReadRequestBodyAsync(InputFormatterContext, Encoding)

Source:
TextInputFormatter.cs
Source:
TextInputFormatter.cs
Source:
TextInputFormatter.cs

Lee un objeto del cuerpo de la solicitud.

public:
 abstract System::Threading::Tasks::Task<Microsoft::AspNetCore::Mvc::Formatters::InputFormatterResult ^> ^ ReadRequestBodyAsync(Microsoft::AspNetCore::Mvc::Formatters::InputFormatterContext ^ context, System::Text::Encoding ^ encoding);
public abstract System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult> ReadRequestBodyAsync (Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context, System.Text.Encoding encoding);
override this.ReadRequestBodyAsync : Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext * System.Text.Encoding -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult>
Public MustOverride Function ReadRequestBodyAsync (context As InputFormatterContext, encoding As Encoding) As Task(Of InputFormatterResult)

Parámetros

encoding
Encoding

Encoding utilizado para leer el cuerpo de la solicitud.

Devoluciones

que Task al finalizar deserializa el cuerpo de la solicitud.

Se aplica a