OutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext) Method

Definition

Writes the response body.

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

Parameters

context
OutputFormatterWriteContext

The formatter context associated with the call.

Returns

A task which can write the response body.

Applies to