Compartilhar via


StringOutputFormatter.WriteResponseBodyAsync Método

Definição

Grava o corpo da resposta.

public:
 override System::Threading::Tasks::Task ^ WriteResponseBodyAsync(Microsoft::AspNetCore::Mvc::Formatters::OutputFormatterWriteContext ^ context, System::Text::Encoding ^ encoding);
public override System.Threading.Tasks.Task WriteResponseBodyAsync (Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context, System.Text.Encoding encoding);
override this.WriteResponseBodyAsync : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext * System.Text.Encoding -> System.Threading.Tasks.Task
Public Overrides Function WriteResponseBodyAsync (context As OutputFormatterWriteContext, encoding As Encoding) As Task

Parâmetros

context
OutputFormatterWriteContext

O contexto do formatador associado à chamada.

encoding
Encoding

Retornos

Uma tarefa que pode gravar o corpo da resposta.

Aplica-se a