Udostępnij za pośrednictwem


MessageWebSocketInformation.ServerCertificateErrorSeverity Property

Definition

Gets the category of an error that occurred making an SSL connection with a WebSocket server.

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

Property Value

The category of error on an SSL connection.

Implements

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

SSL server errors should only be ignored in advanced scenarios. Disregarding server certificate errors when this property is either Ignorable or Fatal may result in the loss of privacy or integrity of the content passed over the SSL session.

Applies to