HttpResponseMessageOutputFormatter Class

Syntax

public class HttpResponseMessageOutputFormatter : IOutputFormatter

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.WebApiCompatShim.HttpResponseMessageOutputFormatter

Methods

CanWriteResult(Microsoft.AspNet.Mvc.OutputFormatterContext, MediaTypeHeaderValue)
Arguments:
Return type:

System.Boolean

public bool CanWriteResult(OutputFormatterContext context, MediaTypeHeaderValue contentType)
WriteAsync(Microsoft.AspNet.Mvc.OutputFormatterContext)
Arguments:
Return type:

System.Threading.Tasks.Task

public Task WriteAsync(OutputFormatterContext context)