HttpTransportInformation Klasse

Definition

Stellt Informationen zum zugrunde liegenden Transport bereit, der von der HTTP-Verbindung verwendet wird.

public ref class HttpTransportInformation sealed : 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)]
class HttpTransportInformation final : IStringable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HttpTransportInformation final : 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)]
public sealed class HttpTransportInformation : IStringable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HttpTransportInformation : IStringable
Public NotInheritable Class HttpTransportInformation
Implements IStringable
Vererbung
Object Platform::Object IInspectable HttpTransportInformation
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 primäre Verwendung des HttpTransportInformation-Objekts besteht darin, SSL-Informationen abzurufen, wenn SSL für die HTTP-Verbindung verwendet wird.

Eigenschaften

ServerCertificate

Ruft das Zertifikat vom Server mit den SSL-Informationen ab.

ServerCertificateErrors

Ruft die Liste der Fehler ab, die beim Herstellen einer SSL-Verbindung aufgetreten sind.

ServerCertificateErrorSeverity

Ruft die Kategorie eines Fehlers für eine SSL-Verbindung ab.

ServerIntermediateCertificates

Ruft die Zwischenzertifikate ab, die vom Server während der SSL-Aushandlung für dieses HttpTransportInformation-Objekt gesendet werden.

Methoden

ToString()

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

Gilt für:

Weitere Informationen