다음을 통해 공유


AllJoynBusAttachment.CredentialsVerificationRequested 이벤트

정의

중요

Windows.Devices.AllJoyn 네임스페이스의 형식은 더 이상 사용되지 않으며 이후 버전의 Windows에서는 사용할 수 없습니다. AllSeen Alliance가 후원하는 AllJoyn은 조명 켜기 및 끄기, 온도 읽기와 같은 IoT(사물 인터넷) 시나리오에 대한 오픈 소스 검색 및 통신 프로토콜입니다. IoTivity LiteIoTivity와 같은 대안은 iotivity.org 웹 사이트를 참조하세요.

확인을 위해 원격 소비자가 자격 증명을 제공한 경우에 발생합니다.

// Register
event_token CredentialsVerificationRequested(TypedEventHandler<AllJoynBusAttachment, AllJoynCredentialsVerificationRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void CredentialsVerificationRequested(event_token const* cookie) const;

// Revoke with event_revoker
AllJoynBusAttachment::CredentialsVerificationRequested_revoker CredentialsVerificationRequested(auto_revoke_t, TypedEventHandler<AllJoynBusAttachment, AllJoynCredentialsVerificationRequestedEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
// Register
event_token CredentialsVerificationRequested(TypedEventHandler<AllJoynBusAttachment, AllJoynCredentialsVerificationRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void CredentialsVerificationRequested(event_token const* cookie) const;

// Revoke with event_revoker
AllJoynBusAttachment::CredentialsVerificationRequested_revoker CredentialsVerificationRequested(auto_revoke_t, TypedEventHandler<AllJoynBusAttachment, AllJoynCredentialsVerificationRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<AllJoynBusAttachment,AllJoynCredentialsVerificationRequestedEventArgs> CredentialsVerificationRequested;
[add: Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("AllJoynBusAttachment has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<AllJoynBusAttachment,AllJoynCredentialsVerificationRequestedEventArgs> CredentialsVerificationRequested;
function onCredentialsVerificationRequested(eventArgs) { /* Your code */ }
allJoynBusAttachment.addEventListener("credentialsverificationrequested", onCredentialsVerificationRequested);
allJoynBusAttachment.removeEventListener("credentialsverificationrequested", onCredentialsVerificationRequested);
- or -
allJoynBusAttachment.oncredentialsverificationrequested = onCredentialsVerificationRequested;
Public Custom Event CredentialsVerificationRequested As TypedEventHandler(Of AllJoynBusAttachment, AllJoynCredentialsVerificationRequestedEventArgs) 

이벤트 유형

특성

Windows 요구 사항

앱 기능
allJoyn

적용 대상