次の方法で共有


AllJoynBusAttachment.CredentialsVerificationRequested イベント

定義

重要

Windows.Devices.AllJoyn 名前空間の型は非推奨となり、将来のバージョンの Windows では使用できない可能性があります。 AllSeen Alliance が主催する AllJoyn は、照明のオンとオフ、温度の読み取りなどのモノのインターネット (IoT) シナリオ向けのオープンソースの検出と通信プロトコルでした。 IoTivity LiteIoTivity などの代替手段については、iotivity.org Web サイトを参照してください。

検証のためにリモート コンシューマーによって資格情報が提供されたときに発生します。

// 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

適用対象