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 イベントが処理されたかどうかを示す値を取得または設定します。

適用対象