共用方式為


StoreQueueItem.StatusChanged 事件

定義

當佇列中目前封裝的狀態變更時引發。

// Register
event_token StatusChanged(TypedEventHandler<StoreQueueItem, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
StoreQueueItem::StatusChanged_revoker StatusChanged(auto_revoke_t, TypedEventHandler<StoreQueueItem, IInspectable const&> const& handler) const;
public event TypedEventHandler<StoreQueueItem,object> StatusChanged;
function onStatusChanged(eventArgs) { /* Your code */ }
storeQueueItem.addEventListener("statuschanged", onStatusChanged);
storeQueueItem.removeEventListener("statuschanged", onStatusChanged);
- or -
storeQueueItem.onstatuschanged = onStatusChanged;
Public Custom Event StatusChanged As TypedEventHandler(Of StoreQueueItem, Object) 

事件類型

適用於