Compartilhar via


OutputFormatter.WriteResponseHeaders(OutputFormatterWriteContext) Método

Definição

Define os cabeçalhos no HttpResponse objeto .

public:
 virtual void WriteResponseHeaders(Microsoft::AspNetCore::Mvc::Formatters::OutputFormatterWriteContext ^ context);
public virtual void WriteResponseHeaders (Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context);
abstract member WriteResponseHeaders : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext -> unit
override this.WriteResponseHeaders : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext -> unit
Public Overridable Sub WriteResponseHeaders (context As OutputFormatterWriteContext)

Parâmetros

context
OutputFormatterWriteContext

O contexto de formatador associado à chamada.

Aplica-se a