RemoteDesktopRegistrar.ConnectionCenterRequested 活动
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
// Register
static event_token ConnectionCenterRequested(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
static void ConnectionCenterRequested(event_token const* cookie) const;
// Revoke with event_revoker
static RemoteDesktopRegistrar::ConnectionCenterRequested_revoker ConnectionCenterRequested(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> ConnectionCenterRequested;
function onConnectionCenterRequested(eventArgs) { /* Your code */ }
Windows.System.RemoteDesktop.Provider.RemoteDesktopRegistrar.addEventListener("connectioncenterrequested", onConnectionCenterRequested);
Windows.System.RemoteDesktop.Provider.RemoteDesktopRegistrar.removeEventListener("connectioncenterrequested", onConnectionCenterRequested);
- or -
Windows.System.RemoteDesktop.Provider.RemoteDesktopRegistrar.onconnectioncenterrequested = onConnectionCenterRequested;
Public Shared Custom Event ConnectionCenterRequested As EventHandler(Of Object)