Share via


ContactPanelLaunchFullAppRequestedEventArgs 클래스

정의

LaunchFullAppRequested 이벤트에 대한 이벤트 정보를 제공합니다.

public ref class ContactPanelLaunchFullAppRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContactPanelLaunchFullAppRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContactPanelLaunchFullAppRequestedEventArgs
Public NotInheritable Class ContactPanelLaunchFullAppRequestedEventArgs
상속
Object Platform::Object IInspectable ContactPanelLaunchFullAppRequestedEventArgs
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Creators Update (10.0.15063.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v4.0에서 도입되었습니다.)
앱 기능
contactsSystem

예제

다음 예제에서는 이 항목의 설명을 보여 줍니다.

async void OnLaunchFullAppRequested(ContactPanel ContactPanel,
                                    ContactPanelLaunchFullAppRequestedEventArgs e)
{
    if (!e.Handled)
    {
        e.Handled = true;
        if (await TryLaunchFullAppFromCurrentStateAsync())
        {
            // we've successfully started the full version of our app; close the hosted view.
            ContactPanel.ClosePanel();
        }
    }
}

설명

먼저 Handled 속성을 확인하는 검사 입니다false. 그런 다음 Handled 속성을 로 true설정하고 앱을 시작합니다. 사용자에게 제공하려는 환경의 종류에 따라 앱의 전체 버전과 직접 상호 작용하므로 연락처 패널을 닫는 것이 좋습니다.

속성

Handled

LaunchFullAppRequested 이벤트가 처리되었는지 여부를 나타내는 값을 가져오거나 설정합니다.

적용 대상