HttpTransferCodingHeaderValue Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Représente les informations de codage de transfert utilisées dans l’en-tête HTTP Transfer-Encoding sur une requête HTTP.
public ref class HttpTransferCodingHeaderValue sealed : IStringable
/// [Windows.Foundation.Metadata.Activatable(Windows.Web.Http.Headers.IHttpTransferCodingHeaderValueFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class HttpTransferCodingHeaderValue final : IStringable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Web.Http.Headers.IHttpTransferCodingHeaderValueFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class HttpTransferCodingHeaderValue final : IStringable
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Web.Http.Headers.IHttpTransferCodingHeaderValueFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class HttpTransferCodingHeaderValue : IStringable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Web.Http.Headers.IHttpTransferCodingHeaderValueFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class HttpTransferCodingHeaderValue : IStringable
function HttpTransferCodingHeaderValue(input)
Public NotInheritable Class HttpTransferCodingHeaderValue
Implements IStringable
- Héritage
- Attributs
- Implémente
Configuration requise pour Windows
Famille d’appareils |
Windows 10 (introduit dans 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduit dans v1.0)
|
Remarques
La classe HttpTransferCodingHeaderValue représente les informations de codage de transfert utilisées dans l’en-tête HTTP Transfer-Encoding sur une requête HTTP.
La propriété TransferEncoding sur httpRequestHeaderCollection renvoie un objet HttpTransferCodingHeaderValueCollection qui contient des objets HttpTransferCodingHeaderValue.
Constructeurs
HttpTransferCodingHeaderValue(String) |
Initialise une nouvelle instance de la classe HttpProductInfoHeaderValue. |
Propriétés
Parameters |
Obtient un ensemble de paramètres utilisés dans l’en-tête HTTP Transfer-Encoding . |
Value |
Obtient la valeur de codage de transfert utilisée dans l’en-tête HTTP Transfer-Encoding . |
Méthodes
Parse(String) |
Convertit une chaîne en instance HttpTransferCodingHeaderValue. |
ToString() |
Renvoie une chaîne qui représente l’objet HttpTransferCodingHeaderValue actuel. |
TryParse(String, HttpTransferCodingHeaderValue) |
Détermine si une chaîne est valide pour les informations HttpTransferCodingHeaderValue . |
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour