WebSocketServerCustomValidationRequestedEventArgs 클래스

정의

WebSocket에서 ServerCustomValidationRequested 이벤트에 대한 데이터를 제공합니다. 이 이벤트는 WebSocket에 대한 보안 연결이 새로 만들어질 때 발생하며, 연결이 설정되기 전에 코드에 서버 인증서의 사용자 지정 유효성 검사를 수행할 수 있는 기회를 제공합니다.

public ref class WebSocketServerCustomValidationRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WebSocketServerCustomValidationRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WebSocketServerCustomValidationRequestedEventArgs
Public NotInheritable Class WebSocketServerCustomValidationRequestedEventArgs
상속
Object Platform::Object IInspectable WebSocketServerCustomValidationRequestedEventArgs
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)

설명

이 개체의 인스턴스는 시스템에서 만들어지고 등록된 이벤트 처리기에 인수로 전달됩니다.

속성

ServerCertificate

유효성 검사를 위해 서버에서 제공하는 인증서입니다.

ServerCertificateErrors

서버 인증서의 유효성을 검사할 때 발생한 오류 목록입니다.

ServerCertificateErrorSeverity

이 WebSocket 서버와 SSL 연결을 만들 때 발생한 오류의 범주를 가져옵니다.

ServerIntermediateCertificates

현재 유효성 검사 중인 유효성 검사 프로세스에서 중간 인증서 목록을 가져옵니다.

메서드

GetDeferral()

유효성 검사 작업을 관리하는 Deferral 개체를 가져옵니다. 유효성 검사 작업을 시작할 때 이 메서드를 호출하고 작업이 완료되면 Deferral.Complete 를 호출합니다.

Reject()

이 서버의 유효성 검사를 거부합니다. 유효성 검사에서 서버에 연결해서는 안 된다고 판단되면 이 메서드를 호출합니다.

적용 대상