HttpTransportInformation Classe

Definizione

Fornisce informazioni sul trasporto sottostante usato dalla connessione HTTP.

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
Ereditarietà
Object Platform::Object IInspectable HttpTransportInformation
Attributi
Implementazioni

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Commenti

L'uso primario dell'oggetto HttpTransportInformation consiste nel ottenere informazioni SSL quando viene usato SSL per la connessione HTTP.

Proprietà

ServerCertificate

Ottiene il certificato dal server con le informazioni SSL.

ServerCertificateErrors

Ottiene l'elenco degli errori che si sono verificati durante l'esecuzione di una connessione SSL.

ServerCertificateErrorSeverity

Ottiene la categoria di un errore in una connessione SSL.

ServerIntermediateCertificates

Ottiene i certificati intermedi inviati dal server durante la negoziazione SSL in questo oggetto HttpTransportInformation .

Metodi

ToString()

Restituisce una stringa che rappresenta l'oggetto HttpTransportInformation corrente.

Si applica a

Vedi anche