Bagikan melalui


OutputFormatter.WriteResponseHeaders(OutputFormatterWriteContext) Metode

Definisi

Mengatur header pada HttpResponse objek.

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)

Parameter

context
OutputFormatterWriteContext

Konteks formatter yang terkait dengan panggilan.

Berlaku untuk