LicenseChangedEventHandler 대리자

정의

LicenseChanged 이벤트를 처리할 메서드를 나타냅니다.

public delegate void LicenseChangedEventHandler();
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3567583829, 4969, 19510, 131, 47, 111, 45, 136, 227, 101, 155)]
class LicenseChangedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3567583829, 4969, 19510, 131, 47, 111, 45, 136, 227, 101, 155)]
public delegate void LicenseChangedEventHandler();
var licenseChangedEventHandlerHandler = function(){
/* Your code */
}
Public Delegate Sub LicenseChangedEventHandler()
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

LicenseChanged 이벤트는 앱이 실행되는 동안 앱의 라이선스 상태가 변경될 때 발생합니다. 이러한 변경에 대응하는 방법을 결정할 수 있습니다. 예를 들어 앱이 변경에 즉시 응답하도록 하거나 다음에 사용자가 앱을 열 때까지 무시할 수 있습니다.

CurrentAppSimulator에서 이 이벤트를 사용하는 경우 이 이벤트는 시작할 때 발생합니다. CurrentApp 클래스를 사용하여 를 실행하면 라이선스 정보가 변경된 경우에만 실행됩니다.

적용 대상