HttpTransportInformation 类

定义

提供有关 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
继承
Object Platform::Object IInspectable HttpTransportInformation
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

HttpTransportInformation 对象的主要用途是在 SSL 用于 HTTP 连接时获取 SSL 信息。

属性

ServerCertificate

从服务器获取包含 SSL 信息的证书。

ServerCertificateErrors

获取建立 SSL 连接时发生的错误列表。

ServerCertificateErrorSeverity

获取 SSL 连接上错误的类别。

ServerIntermediateCertificates

获取服务器在此 HttpTransportInformation 对象上的 SSL 协商期间发送的中间证书。

方法

ToString()

返回表示当前 HttpTransportInformation 对象的字符串。

适用于

另请参阅