MediaTypeWithQualityHeaderValue Constructor (String, Double)

Initializes a new instance of the MediaTypeWithQualityHeaderValue class.

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

public MediaTypeWithQualityHeaderValue(
	string mediaType,
	double quality
)

Parameters

mediaType
Type: System.String
quality
Type: System.Double
Show: