다음을 통해 공유


AppBroadcastBackgroundServiceSignInInfo.UserNameChanged 이벤트

정의

UserName 속성이 변경되면 발생합니다.

// Register
event_token UserNameChanged(TypedEventHandler<AppBroadcastBackgroundServiceSignInInfo, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
AppBroadcastBackgroundServiceSignInInfo::UserNameChanged_revoker UserNameChanged(auto_revoke_t, TypedEventHandler<AppBroadcastBackgroundServiceSignInInfo, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppBroadcastBackgroundServiceSignInInfo,object> UserNameChanged;
function onUserNameChanged(eventArgs) { /* Your code */ }
appBroadcastBackgroundServiceSignInInfo.addEventListener("usernamechanged", onUserNameChanged);
appBroadcastBackgroundServiceSignInInfo.removeEventListener("usernamechanged", onUserNameChanged);
- or -
appBroadcastBackgroundServiceSignInInfo.onusernamechanged = onUserNameChanged;
Public Custom Event UserNameChanged As TypedEventHandler(Of AppBroadcastBackgroundServiceSignInInfo, Object) 

이벤트 유형

Windows 요구 사항

디바이스 패밀리
Windows Desktop Extension SDK (10.0.16299.0에서 도입되었습니다.)
API contract
Windows.Media.Capture.AppBroadcastContract (v2.0에서 도입되었습니다.)

적용 대상