ShareWindowCommandSource.CommandRequested 이벤트

정의

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

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

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

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

이벤트 유형

적용 대상

추가 정보