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) 

事件类型

适用于