Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpContentCodingWithQualityHeaderValue.HttpContentCodingWithQualityHeaderValue(String, Double) constructor

Applies to Windows and Windows Phone

Initializes a new instance of the HttpContentCodingHeaderValue class with content-coding information and a qvalue.

Syntax


var httpContentCodingWithQualityHeaderValue = new Windows.Web.Http.Headers.HttpContentCodingWithQualityHeaderValue(contentCoding, quality);

Parameters

contentCoding

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The value of the content-coding information to use.

quality

Type: Number [JavaScript] | System.Double [.NET] | float64 [C++]

The value of the qvalue to use.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.winmd

See also

HttpContentCodingWithQualityHeaderValue
HttpContentCodingWithQualityHeaderValue(String)

 

 

Show:
© 2014 Microsoft