共用方式為


ClaimedLineDisplay.ReleaseDeviceRequested 事件

定義

發生于使用 LineDisplay.ClaimAsync的另一個應用程式宣告宣告宣告的宣告行顯示時。

// Register
event_token ReleaseDeviceRequested(TypedEventHandler<ClaimedLineDisplay, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
ClaimedLineDisplay::ReleaseDeviceRequested_revoker ReleaseDeviceRequested(auto_revoke_t, TypedEventHandler<ClaimedLineDisplay, IInspectable const&> const& handler) const;
public event TypedEventHandler<ClaimedLineDisplay,object> ReleaseDeviceRequested;
function onReleaseDeviceRequested(eventArgs) { /* Your code */ }
claimedLineDisplay.addEventListener("releasedevicerequested", onReleaseDeviceRequested);
claimedLineDisplay.removeEventListener("releasedevicerequested", onReleaseDeviceRequested);
- or -
claimedLineDisplay.onreleasedevicerequested = onReleaseDeviceRequested;
Public Custom Event ReleaseDeviceRequested As TypedEventHandler(Of ClaimedLineDisplay, Object) 

事件類型

適用於