ReadContentAsync Method
Collapse the table of content
Expand the table of content

FormatterParameterBinding.ReadContentAsync Method

 

FormatterParameterBinding.ReadContentAsync Method (HttpRequestMessage, Type, IEnumerable<MediaTypeFormatter>, IFormatterLogger)

Asynchronously reads the content of FormatterParameterBinding.

public virtual Task<object> ReadContentAsync(
	HttpRequestMessage request,
	Type type,
	IEnumerable<MediaTypeFormatter> formatters,
	IFormatterLogger formatterLogger
)

Parameters

request
Type: System.Net.Http.HttpRequestMessage

The request.

type
Type: System.Type

The type.

formatters
Type: System.Collections.Generic.IEnumerable<MediaTypeFormatter>

The formatter.

formatterLogger
Type: System.Net.Http.Formatting.IFormatterLogger

The format logger.

Return Value

Type: System.Threading.Tasks.Task<Object>

The result of the action.

Return to top

FormatterParameterBinding.ReadContentAsync Method (HttpRequestMessage, Type, IEnumerable<MediaTypeFormatter>, IFormatterLogger, CancellationToken)

public virtual Task<object> ReadContentAsync(
	HttpRequestMessage request,
	Type type,
	IEnumerable<MediaTypeFormatter> formatters,
	IFormatterLogger formatterLogger,
	CancellationToken cancellationToken
)
Return to top
Show:
© 2016 Microsoft