Compartilhar via


OutputFormatter.WriteAsync(OutputFormatterWriteContext) Método

Definição

Grava o objeto representado pela contextpropriedade Object de .

public:
 virtual System::Threading::Tasks::Task ^ WriteAsync(Microsoft::AspNetCore::Mvc::Formatters::OutputFormatterWriteContext ^ context);
public virtual System.Threading.Tasks.Task WriteAsync (Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context);
abstract member WriteAsync : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext -> System.Threading.Tasks.Task
override this.WriteAsync : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext -> System.Threading.Tasks.Task
Public Overridable 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 .

Implementações

Aplica-se a