Share via


RemoteDesktopConnectionRemoteInfo.PerformLocalActionRequested Event

Definition

Raised when there is a request for the app to perform a local action on the remote desktop.

// Register
event_token PerformLocalActionRequested(TypedEventHandler<RemoteDesktopConnectionRemoteInfo, PerformLocalActionRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RemoteDesktopConnectionRemoteInfo::PerformLocalActionRequested_revoker PerformLocalActionRequested(auto_revoke_t, TypedEventHandler<RemoteDesktopConnectionRemoteInfo, PerformLocalActionRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<RemoteDesktopConnectionRemoteInfo,PerformLocalActionRequestedEventArgs> PerformLocalActionRequested;
function onPerformLocalActionRequested(eventArgs) { /* Your code */ }
remoteDesktopConnectionRemoteInfo.addEventListener("performlocalactionrequested", onPerformLocalActionRequested);
remoteDesktopConnectionRemoteInfo.removeEventListener("performlocalactionrequested", onPerformLocalActionRequested);
- or -
remoteDesktopConnectionRemoteInfo.onperformlocalactionrequested = onPerformLocalActionRequested;
Public Custom Event PerformLocalActionRequested As TypedEventHandler(Of RemoteDesktopConnectionRemoteInfo, PerformLocalActionRequestedEventArgs) 

Event Type

Remarks

Remote Desktop client apps must invoke the Uri ms-settings:devices?launchedFromRemoteSession=1 on the local PC to launch Local PC Bluetooth settings when the remote shell triggers a call to do so via the PerformLocalActionRequested event. This occurs when user clicks on Bluetooth button in Quick Actions or in the Settings app on the Windows 365 Cloud PC.

Applies to