共用方式為


PaymentDeviceConnection.PaymentDeviceWriteConfigurationRequested 事件

定義

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

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

// Revoke with event_revoker
PaymentDeviceConnection::PaymentDeviceWriteConfigurationRequested_revoker PaymentDeviceWriteConfigurationRequested(auto_revoke_t, TypedEventHandler<PaymentDeviceConnection, PaymentDeviceWriteConfigurationRequestEventArgs const&> const& handler) const;
[Windows.Foundation.Metadata.Experimental]
[add: Windows.Foundation.Metadata.Experimental]
[remove: Windows.Foundation.Metadata.Experimental]
public event TypedEventHandler<PaymentDeviceConnection,PaymentDeviceWriteConfigurationRequestEventArgs> PaymentDeviceWriteConfigurationRequested;
function onPaymentDeviceWriteConfigurationRequested(eventArgs) { /* Your code */ }
paymentDeviceConnection.addEventListener("paymentdevicewriteconfigurationrequested", onPaymentDeviceWriteConfigurationRequested);
paymentDeviceConnection.removeEventListener("paymentdevicewriteconfigurationrequested", onPaymentDeviceWriteConfigurationRequested);
- or -
paymentDeviceConnection.onpaymentdevicewriteconfigurationrequested = onPaymentDeviceWriteConfigurationRequested;
Public Custom Event PaymentDeviceWriteConfigurationRequested As TypedEventHandler(Of PaymentDeviceConnection, PaymentDeviceWriteConfigurationRequestEventArgs) 

事件類型

屬性

適用於