Share via


HttpServerCustomValidationRequestedEventArgs クラス

定義

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
継承
Object Platform::Object IInspectable HttpServerCustomValidationRequestedEventArgs
属性

Windows の要件

デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v3.0 で導入)

注釈

このクラスは、 ServerCustomValidationRequested イベントによって取得されます。

プロパティ

RequestMessage

宛先 URI、ヘッダー、本文を含む HTTP 要求を取得します。

ServerCertificate

サーバーによって提供される X509Certificate を取得します。

ServerCertificateErrors

この証明書またはチェーンで OS 検証ロジックが検出したエラーを取得します。

ServerCertificateErrorSeverity

発生したエラーの重大度レベルを取得します。

ServerIntermediateCertificates

中間証明書のチェーンを取得し、リモート証明書に関連付けられているルート CA で終わる。

メソッド

GetDeferral()

Deferral オブジェクトの Complete メソッドを呼び出して、遅延が完了するまでイベント ハンドラーの中断を遅延するよう要求します。

Reject()

サーバーの証明書を拒否します。 これにより、クライアントはサーバーへの接続を終了します。

適用対象