HttpTransportInformation Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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
- 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
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für