Lingua

TextInputFormatter.ReadRequestBodyAsync Metodo

Definizione

Overload

Nome Descrizione
ReadRequestBodyAsync(InputFormatterContext)

Legge un oggetto dal corpo della richiesta.

ReadRequestBodyAsync(InputFormatterContext, Encoding)

Legge un oggetto dal corpo della richiesta.

ReadRequestBodyAsync(InputFormatterContext)

Origine:
TextInputFormatter.cs
Origine:
TextInputFormatter.cs
Origine:
TextInputFormatter.cs

Legge un oggetto dal corpo della richiesta.

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)

Parametri

Valori restituiti

Oggetto Task che al completamento deserializza il corpo della richiesta.

Si applica a

ReadRequestBodyAsync(InputFormatterContext, Encoding)

Origine:
TextInputFormatter.cs
Origine:
TextInputFormatter.cs
Origine:
TextInputFormatter.cs

Legge un oggetto dal corpo della richiesta.

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)

Parametri

encoding
Encoding

Oggetto Encoding utilizzato per leggere il corpo della richiesta.

Valori restituiti

Oggetto Task che al completamento deserializza il corpo della richiesta.

Si applica a