Export (0) Print
Expand All

ContentNegotiationResult Constructor

Create the content negotiation result object.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

public ContentNegotiationResult(
	MediaTypeFormatter formatter,
	MediaTypeHeaderValue mediaType
)

Parameters

formatter
Type: System.Net.Http.Formatting.MediaTypeFormatter

The formatter.

mediaType
Type: MediaTypeHeaderValue

The preferred media type. Can be null.

Show:
© 2015 Microsoft