HttpTransportInformation.ServerCertificateErrorSeverity 属性

定义

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

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

属性值

SSL 连接上的错误类别。

注解

仅在高级方案中应忽略 SSL 服务器错误。 当 ServerCertificateErrorSeverity 属性为 IgnorableFatal 时忽略服务器证书错误可能会导致通过 SSL 会话传递的内容的隐私或完整性丢失。

适用于

另请参阅