Compartilhar via


OutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext) Método

Definição

Grava o corpo da resposta.

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

Parâmetros

context
OutputFormatterWriteContext

O contexto do formatador associado à chamada.

Retornos

Uma tarefa que pode gravar o corpo da resposta.

Aplica-se a