다음을 통해 공유


ShareWindowCommandSource.CommandInvoked 이벤트

정의

통신 앱이 실제로 특정 창 공유를 시작하거나 중지할 수 있는 기회를 제공하기 위해 Windows 셸에서 발생하는 이벤트입니다.

// Register
event_token CommandInvoked(TypedEventHandler<ShareWindowCommandSource, ShareWindowCommandEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ShareWindowCommandSource::CommandInvoked_revoker CommandInvoked(auto_revoke_t, TypedEventHandler<ShareWindowCommandSource, ShareWindowCommandEventArgs const&> const& handler) const;
public event TypedEventHandler<ShareWindowCommandSource,ShareWindowCommandEventArgs> CommandInvoked;
function onCommandInvoked(eventArgs) { /* Your code */ }
shareWindowCommandSource.addEventListener("commandinvoked", onCommandInvoked);
shareWindowCommandSource.removeEventListener("commandinvoked", onCommandInvoked);
- or -
shareWindowCommandSource.oncommandinvoked = onCommandInvoked;
Public Custom Event CommandInvoked As TypedEventHandler(Of ShareWindowCommandSource, ShareWindowCommandEventArgs) 

이벤트 유형

적용 대상

추가 정보