ContentNegotiationResult(MediaTypeFormatter, MediaTypeHeaderValue) Constructor
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.
public ContentNegotiationResult (System.Net.Http.Formatting.MediaTypeFormatter formatter, System.Net.Http.Headers.MediaTypeHeaderValue mediaType);
new System.Net.Http.Formatting.ContentNegotiationResult : System.Net.Http.Formatting.MediaTypeFormatter * System.Net.Http.Headers.MediaTypeHeaderValue -> System.Net.Http.Formatting.ContentNegotiationResult
Public Sub New (formatter As MediaTypeFormatter, mediaType As MediaTypeHeaderValue)
Parameters
- formatter
- System.Net.Http.Formatting.MediaTypeFormatter
- mediaType
- MediaTypeHeaderValue