共用方式為


PaymentDeviceConnection.PaymentDeviceReadConfigurationRequested 事件

定義

/// [Windows.Foundation.Metadata.Experimental]
/// [add: Windows.Foundation.Metadata.Experimental]
/// [remove: Windows.Foundation.Metadata.Experimental]
// Register
event_token PaymentDeviceReadConfigurationRequested(TypedEventHandler<PaymentDeviceConnection, PaymentDeviceReadConfigurationRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PaymentDeviceConnection::PaymentDeviceReadConfigurationRequested_revoker PaymentDeviceReadConfigurationRequested(auto_revoke_t, TypedEventHandler<PaymentDeviceConnection, PaymentDeviceReadConfigurationRequestEventArgs const&> const& handler) const;
[Windows.Foundation.Metadata.Experimental]
[add: Windows.Foundation.Metadata.Experimental]
[remove: Windows.Foundation.Metadata.Experimental]
public event TypedEventHandler<PaymentDeviceConnection,PaymentDeviceReadConfigurationRequestEventArgs> PaymentDeviceReadConfigurationRequested;
function onPaymentDeviceReadConfigurationRequested(eventArgs) { /* Your code */ }
paymentDeviceConnection.addEventListener("paymentdevicereadconfigurationrequested", onPaymentDeviceReadConfigurationRequested);
paymentDeviceConnection.removeEventListener("paymentdevicereadconfigurationrequested", onPaymentDeviceReadConfigurationRequested);
- or -
paymentDeviceConnection.onpaymentdevicereadconfigurationrequested = onPaymentDeviceReadConfigurationRequested;
Public Custom Event PaymentDeviceReadConfigurationRequested As TypedEventHandler(Of PaymentDeviceConnection, PaymentDeviceReadConfigurationRequestEventArgs) 

事件類型

屬性

適用於