語言

StreamWebSocketInformation.ServerCertificateErrorSeverity 屬性

定義

會取得與 StreamWebSocket 伺服器建立 SSL 連線時發生的錯誤類別。

public:
 property SocketSslErrorSeverity ServerCertificateErrorSeverity { SocketSslErrorSeverity get(); };
SocketSslErrorSeverity ServerCertificateErrorSeverity();
public SocketSslErrorSeverity ServerCertificateErrorSeverity { get; }
var socketSslErrorSeverity = streamWebSocketInformation.serverCertificateErrorSeverity;
Public ReadOnly Property ServerCertificateErrorSeverity As SocketSslErrorSeverity

屬性值

SSL 連線上的錯誤類別。

實作

Windows 需求

規格需求 Description
裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

備註

SSL 伺服器錯誤只有在進階情境下才應該忽略。 當伺服器憑證錯誤為 可忽略 或 致命 時,若忽略此錯誤,可能會導致透過 SSL 會話傳輸內容的隱私或完整性喪失。

適用於