HttpTransferCodingHeaderValue Klasse

Definition

Stellt Übertragungscodierungsinformationen dar, die im TRANSFER-Encoding-HTTP-Header für eine HTTP-Anforderung verwendet werden.

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
Vererbung
Object Platform::Object IInspectable HttpTransferCodingHeaderValue
Attribute
Implementiert

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

Die HttpTransferCodingHeaderValue-Klasse stellt Übertragungscodierungsinformationen dar, die im Transfer-Encoding-HTTP-Header für eine HTTP-Anforderung verwendet werden.

Die TransferEncoding-Eigenschaft für httpRequestHeaderCollection gibt eine HttpTransferCodingHeaderValueCollection zurück, die HttpTransferCodingHeaderValue-Objekte enthält.

Konstruktoren

HttpTransferCodingHeaderValue(String)

Initialisiert eine neue instance der HttpProductInfoHeaderValue-Klasse.

Eigenschaften

Parameters

Ruft einen Satz von Parametern ab, die im HTTP-Header "Transfer-Encoding" verwendet werden.

Value

Ruft den Transfercodierungswert ab, der im HTTP-Header Transfer-Encoding verwendet wird.

Methoden

Parse(String)

Konvertiert eine Zeichenfolge in eine HttpTransferCodingHeaderValue-instance.

ToString()

Gibt eine Zeichenfolge zurück, die das aktuelle HttpTransferCodingHeaderValue-Objekt darstellt.

TryParse(String, HttpTransferCodingHeaderValue)

Bestimmt, ob eine Zeichenfolge gültige HttpTransferCodingHeaderValue-Informationen ist.

Gilt für:

Weitere Informationen