共用方式為


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 物件的字串。

適用於

另請參閱