HttpRequestMessage.TransportInformation 屬性

定義

取得 HTTP 連線所使用的基礎傳輸通訊端相關資訊。

public:
 property HttpTransportInformation ^ TransportInformation { HttpTransportInformation ^ get(); };
HttpTransportInformation TransportInformation();
public HttpTransportInformation TransportInformation { get; }
var httpTransportInformation = httpRequestMessage.transportInformation;
Public ReadOnly Property TransportInformation As HttpTransportInformation

屬性值

HTTP 連線所使用的基礎傳輸通訊端相關資訊。

備註

TransportInformation 屬性的主要用途是在 SSL 用於 HTTP 連線時取得 SSL 資訊。 這通常用來從伺服器取得 SSL 憑證,或檢視建立 SSL 連線時所發生的錯誤清單。

適用於