HttpServerCustomValidationRequestedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides data for the ServerCustomValidationRequested event.
public ref class HttpServerCustomValidationRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HttpServerCustomValidationRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HttpServerCustomValidationRequestedEventArgs
Public NotInheritable Class HttpServerCustomValidationRequestedEventArgs
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Remarks
This class is retrieved by the ServerCustomValidationRequested event.
Properties
RequestMessage |
Gets the HTTP request containing the destination URI, headers, and body. |
ServerCertificate |
Gets the X509Certificate provided by the server. |
ServerCertificateErrors |
Gets the errors that the OS validation logic has found in this certificate or the chain. |
ServerCertificateErrorSeverity |
Gets the severity level of errors encountered. |
ServerIntermediateCertificates |
Gets the chain of intermediate certificates, ending in the root CA associated with the remote certificate. |
Methods
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 the server's certificate. This will result in the client terminating the connection to the server. |