HttpServerCustomValidationRequestedEventArgs HttpServerCustomValidationRequestedEventArgs HttpServerCustomValidationRequestedEventArgs HttpServerCustomValidationRequestedEventArgs HttpServerCustomValidationRequestedEventArgs Class

Definition

Provides data for the ServerCustomValidationRequested event.

public : sealed class HttpServerCustomValidationRequestedEventArgs
struct winrt::Windows::Web::Http::Filters::HttpServerCustomValidationRequestedEventArgs
public sealed class HttpServerCustomValidationRequestedEventArgs
Public NotInheritable Class HttpServerCustomValidationRequestedEventArgs
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

This class is retrieved by the ServerCustomValidationRequested event.

Properties

RequestMessage RequestMessage RequestMessage RequestMessage RequestMessage

Gets the HTTP request containing the destination URI, headers, and body.

ServerCertificate ServerCertificate ServerCertificate ServerCertificate ServerCertificate

Gets the X509Certificate provided by the server.

ServerCertificateErrors ServerCertificateErrors ServerCertificateErrors ServerCertificateErrors ServerCertificateErrors

Gets the errors that the OS validation logic has found in this certificate or the chain.

ServerCertificateErrorSeverity ServerCertificateErrorSeverity ServerCertificateErrorSeverity ServerCertificateErrorSeverity ServerCertificateErrorSeverity

Gets the severity level of errors encountered.

ServerIntermediateCertificates ServerIntermediateCertificates ServerIntermediateCertificates ServerIntermediateCertificates ServerIntermediateCertificates

Gets the chain of intermediate certificates, ending in the root CA associated with the remote certificate.

Methods

GetDeferral() GetDeferral() GetDeferral() GetDeferral() GetDeferral()

Requests that suspension of the event handler be delayed until the deferral is completed by calling the Complete method on the Deferral object.

Reject() Reject() Reject() Reject() Reject()

Reject the server's certificate. This will result in the client terminating the connection to the server.