Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TransferCodingWithQualityHeaderValue Class

TransferCodingWithQualityHeaderValue Class

.NET Framework 4.6 and 4.5

Represents an Accept-Encoding header value.with optional quality factor.


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

public sealed class TransferCodingWithQualityHeaderValue : TransferCodingHeaderValue, 

The TransferCodingWithQualityHeaderValue type exposes the following members.

Public methodTransferCodingWithQualityHeaderValue(String)Initializes a new instance of the TransferCodingWithQualityHeaderValue class.
Public methodTransferCodingWithQualityHeaderValue(String, Double)Initializes a new instance of the TransferCodingWithQualityHeaderValue class.

Public propertyParametersGets the transfer-coding parameters. (Inherited from TransferCodingHeaderValue.)
Public propertyQualityGets the quality factor from the TransferCodingWithQualityHeaderValue.
Public propertyValueGets the transfer-coding value. (Inherited from TransferCodingHeaderValue.)

Public methodEqualsDetermines whether the specified Object is equal to the current TransferCodingHeaderValue object. (Inherited from TransferCodingHeaderValue.)
Public methodGetHashCodeServes as a hash function for an TransferCodingHeaderValue object. (Inherited from TransferCodingHeaderValue.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberParseConverts a string to an TransferCodingWithQualityHeaderValue instance.
Public methodToStringReturns a string that represents the current TransferCodingHeaderValue object. (Inherited from TransferCodingHeaderValue.)
Public methodStatic memberTryParseDetermines whether a string is valid TransferCodingWithQualityHeaderValue information.

Explicit interface implemetationPrivate methodICloneable.CloneCreates a new object that is a copy of the current TransferCodingWithQualityHeaderValue instance.

The TransferCodingWithQualityHeaderValue class provides support for the Accept-Encoding header as defined in RFC 2616 by the IETF.

Quality factors allow a user agent to indicate the relative degree of preference for an Accept-Encoding header value, using the qvalue scale from 0 to 1. The default value is q=1.

This type derives from TransferCodingHeaderValue.

.NET Framework

Supported in: 4.6, 4.5

.NET for Windows Phone apps

Supported in: Windows Phone 8.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft