IOutputFormatter.WriteAsync(OutputFormatterWriteContext) Método

Definição

Grava o objeto representado pela contextpropriedade Object de .

public:
 System::Threading::Tasks::Task ^ WriteAsync(Microsoft::AspNetCore::Mvc::Formatters::OutputFormatterWriteContext ^ context);
public System.Threading.Tasks.Task WriteAsync (Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context);
abstract member WriteAsync : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext -> System.Threading.Tasks.Task
Public Function WriteAsync (context As OutputFormatterWriteContext) As Task

Parâmetros

context
OutputFormatterWriteContext

O contexto de formatador associado à chamada.

Retornos

Uma Tarefa que serializa o valor para a contextmensagem de resposta do .

Aplica-se a