TextOutputFormatter.WriteAsync(OutputFormatterWriteContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the object represented by context
's Object property.
public:
override System::Threading::Tasks::Task ^ WriteAsync(Microsoft::AspNetCore::Mvc::Formatters::OutputFormatterWriteContext ^ context);
public override System.Threading.Tasks.Task WriteAsync (Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context);
override this.WriteAsync : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext -> System.Threading.Tasks.Task
Public Overrides 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.