共用方式為


InputFormatter.ReadAsync(InputFormatterContext) 方法

定義

從要求本文讀取 物件。

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Mvc::Formatters::InputFormatterResult ^> ^ ReadAsync(Microsoft::AspNetCore::Mvc::Formatters::InputFormatterContext ^ context);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult> ReadAsync (Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context);
abstract member ReadAsync : Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult>
override this.ReadAsync : Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult>
Public Overridable Function ReadAsync (context As InputFormatterContext) As Task(Of InputFormatterResult)

參數

傳回

Task完成還原序列化要求主體的 。

實作

適用於