Share via


HttpNoContentOutputFormatter.WriteAsync(OutputFormatterWriteContext) Method

Definition

Writes the object represented by context's Object property.

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

Parameters

context
OutputFormatterWriteContext

The formatter context associated with the call.

Returns

A Task that serializes the value to the context's response message.

Implements

Applies to