ClaimedLineDisplay.ReleaseDeviceRequested 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当声明的行显示声明由另一个应用使用 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)
事件类型
TypedEventHandler<ClaimedLineDisplay,IInspectable>