共用方式為


PaymentDeviceConnection.PaymentDeviceRefundRequested 事件

定義

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

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

// Revoke with event_revoker
PaymentDeviceConnection::PaymentDeviceRefundRequested_revoker PaymentDeviceRefundRequested(auto_revoke_t, TypedEventHandler<PaymentDeviceConnection, PaymentDeviceRefundRequestEventArgs const&> const& handler) const;
[Windows.Foundation.Metadata.Experimental]
[add: Windows.Foundation.Metadata.Experimental]
[remove: Windows.Foundation.Metadata.Experimental]
public event TypedEventHandler<PaymentDeviceConnection,PaymentDeviceRefundRequestEventArgs> PaymentDeviceRefundRequested;
function onPaymentDeviceRefundRequested(eventArgs) { /* Your code */ }
paymentDeviceConnection.addEventListener("paymentdevicerefundrequested", onPaymentDeviceRefundRequested);
paymentDeviceConnection.removeEventListener("paymentdevicerefundrequested", onPaymentDeviceRefundRequested);
- or -
paymentDeviceConnection.onpaymentdevicerefundrequested = onPaymentDeviceRefundRequested;
Public Custom Event PaymentDeviceRefundRequested As TypedEventHandler(Of PaymentDeviceConnection, PaymentDeviceRefundRequestEventArgs) 

事件類型

屬性

適用於