Skip to main content
HttpTransportInformation.ServerCertificateErrorSeverity | serverCertificateErrorSeverity property

Applies to Windows and Windows Phone

Gets the category of an error on an SSL connection.

Syntax


var serverCertificateErrorSeverity = httpTransportInformation.serverCertificateErrorSeverity;

public SocketSslErrorSeverity ServerCertificateErrorSeverity { get; }

Public ReadOnly Property ServerCertificateErrorSeverity As SocketSslErrorSeverity

public:
property SocketSslErrorSeverity ServerCertificateErrorSeverity { 
   SocketSslErrorSeverity get();
}

Property value

Type: SocketSslErrorSeverity

The category of error on an SSL connection.

Remarks

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

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http
Windows::Web::Http [C++]

Metadata

Windows.winmd

See also

HttpBaseProtocolFilter.IgnorableServerCertificateErrors
HttpTransportInformation
ServerCertificate
ServerCertificateErrors
ServerIntermediateCertificates
SocketSslErrorSeverity