HttpServerCustomValidationRequestedEventArgs
HttpServerCustomValidationRequestedEventArgs
HttpServerCustomValidationRequestedEventArgs
HttpServerCustomValidationRequestedEventArgs
Class
Definition
Provides data for the ServerCustomValidationRequested event.
public : sealed class HttpServerCustomValidationRequestedEventArgs : IHttpServerCustomValidationRequestedEventArgspublic sealed class HttpServerCustomValidationRequestedEventArgs : IHttpServerCustomValidationRequestedEventArgsPublic NotInheritable Class HttpServerCustomValidationRequestedEventArgs Implements IHttpServerCustomValidationRequestedEventArgs// You can use this class in JavaScript.
- Attributes
| 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
Gets the HTTP request containing the destination URI, headers, and body.
public : HttpRequestMessage RequestMessage { get; }public HttpRequestMessage RequestMessage { get; }Public ReadOnly Property RequestMessage As HttpRequestMessage// You can use this property in JavaScript.
The HTTP request containing the destination URI, headers, and body.
ServerCertificate ServerCertificate ServerCertificate ServerCertificate
Gets the X509Certificate provided by the server.
public : Certificate ServerCertificate { get; }public Certificate ServerCertificate { get; }Public ReadOnly Property ServerCertificate As Certificate// You can use this property in JavaScript.
The X509Certificate provided by the server.
ServerCertificateErrors ServerCertificateErrors ServerCertificateErrors ServerCertificateErrors
Gets the errors that the OS validation logic has found in this certificate or the chain.
public : IVectorView<ChainValidationResult> ServerCertificateErrors { get; }public IReadOnlyList<ChainValidationResult> ServerCertificateErrors { get; }Public ReadOnly Property ServerCertificateErrors As IReadOnlyList<ChainValidationResult>// You can use this property in JavaScript.
- Value
- IVectorView<ChainValidationResult> IReadOnlyList<ChainValidationResult> IReadOnlyList<ChainValidationResult> IReadOnlyList<ChainValidationResult>
The errors that the OS validation logic has found in this certificate or the chain.
ServerCertificateErrorSeverity ServerCertificateErrorSeverity ServerCertificateErrorSeverity ServerCertificateErrorSeverity
Gets the severity level of errors encountered.
public : SocketSslErrorSeverity ServerCertificateErrorSeverity { get; }public SocketSslErrorSeverity ServerCertificateErrorSeverity { get; }Public ReadOnly Property ServerCertificateErrorSeverity As SocketSslErrorSeverity// You can use this property in JavaScript.
The severity level of errors encountered.
ServerIntermediateCertificates ServerIntermediateCertificates ServerIntermediateCertificates ServerIntermediateCertificates
Gets the chain of intermediate certificates, ending in the root CA associated with the remote certificate.
public : IVectorView<Certificate> ServerIntermediateCertificates { get; }public IReadOnlyList<Certificate> ServerIntermediateCertificates { get; }Public ReadOnly Property ServerIntermediateCertificates As IReadOnlyList<Certificate>// You can use this property in JavaScript.
- Value
- IVectorView<Certificate> IReadOnlyList<Certificate> IReadOnlyList<Certificate> IReadOnlyList<Certificate>
The chain of intermediate certificates, ending in the root CA associated with the remote certificate.
Methods
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.
public : Deferral GetDeferral()public Deferral GetDeferral()Public Function GetDeferral() As Deferral// You can use this method in JavaScript.