uap:LaunchAction (AppointmentsProviderLaunchActions 内)

uap:AppointmentsProviderLaunchActions コンテンツ アクションについて説明します。

要素の階層

<パッケージ>

    <アプリケーション>

         <Application>

              <拡張機能>

                   <uap:Extension>

                        <uap:AppointmentsProvider>

                             <uap:AppointmentsProviderLaunchActions>

                                  <uap:LaunchAction>

構文

<uap:LaunchAction
    EntryPoint = 'A string with an optional value between 1 and 256 characters in length. Represents the task handling the extension (normally the fully namespace-qualified name of a Windows Runtime type). If EntryPoint is not specified, the EntryPoint defined for the app is used instead.'
    Executable = 'A string with an optional value between 1 and 256 characters in length, that must end with ".exe", and cannot contain the following characters: <, >, :, ", |, ?, or *. Specifies the default executable for the extension. If not specified, the executable defined for the app is used.  If specified, the EntryPoint property is also used. If the EntryPoint property is not specified, the EntryPoint defined for the app is used.'
    RuntimeType = 'A string with an optional value between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, \, |, ?, or *.'
    StartPage = 'A string with an optional value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
    ResourceGroup = 'An alphanumeric string with an optional value between 1 and 255 characters in length. Must begin with a letter.'
    Verb = 'A string that can have any of the following values: "addAppointment", "removeAppointment", "replaceAppointment", "showTimeFrame", or "showAppointmentDetails".'
    DesiredView = 'A string that can have any of the following values: "default", "useLess", "useHalf", "useMore", or "useMinimum".' />

キー

? 省略可能 (0 または 1)

属性と要素

属性

属性 説明 データ型 必須 既定値
EntryPoint アクティブ化可能なクラス ID。 長さが 1 ~ 256 文字の値を持つ文字列。 拡張機能を処理するタスク (通常は、Windows ランタイム型の名前空間で修飾された完全名) を表します。 EntryPoint が指定されていない場合は、アプリに対して定義されている EntryPoint が代わりに使用されます。 いいえ
[実行可能ファイル] 既定の起動実行可能ファイル。 長さが 1 ~ 256 文字の文字列。末尾は である必要 .exeがあり、次の文字 <(、 >:"|?、または *) を含めることはできません。 拡張機能の既定の実行可能ファイルを指定します。 指定しない場合は、アプリに対して定義されている実行可能ファイルが使用されます。 指定した場合は、EntryPoint プロパティも使用されます。 その EntryPoint プロパティが指定されていない場合は、アプリに対して定義されている EntryPoint が使用されます。 いいえ
RuntimeType ランタイム プロバイダー。 通常、アプリに組み合わせたフレームワークがある場合に使用されます。 1 から 255 文字の長さの値を持つ文字列。先頭または末尾.に 、、または *が含まれています"<?>:| いいえ
StartPage 拡張ポイントを処理する Web ページです。 長さが 1 ~ 256 文字の文字列。、">:|?または *の各文字<を含めることはできません。 いいえ
ResourceGroup リソース管理の目的で拡張機能のアクティブ化をグループ化するために使用される省略可能なタグ (CPU やメモリなど)。 Application@ResourceGroup「解説」セクションを参照してください。 長さが 1 ~ 255 文字の英数字文字列。 文字で始まる必要があります。 いいえ
動詞 起動時にアプリに渡される一意識別子。 アプリでは、この文字列を使用して、起動をトリガーした uap:AppointmentsProviderLaunchActions ハンドラーを特定できます。 パッケージ内のアプリケーションごとに一意であり、大文字と小文字が区別されます。 addAppointment、removeAppointmentreplaceAppointmentshowTimeFrame、または showAppointmentDetails のいずれかの値を持つ文字列。 いいえ
DesiredView 予定の起動時に使用する画面領域の量。 既定値useLessuseHalfuseMoreuseMinimum のいずれかの値を持つ文字列。 いいえ

子要素

なし。

親要素

親要素 説明
uap:AppointmentsProviderLaunchActions 予定の起動時に実行するアクションを宣言します。

次の要素の名前はこれと同じですが、コンテンツまたは属性が異なります:

注釈

予定プロバイダーが実行する起動アクションの詳細については、「 AppointmentsProviderLaunchActionVerbs」を参照してください。

LaunchAction (AppointmentsProviderLaunchActions の場合) には、次のセマンティック検証があります。

  • 拡張 基本属性は、次の規則に従う必要があります。

    • StartPage 属性が指定されている場合、EntryPointExecutable、または RuntimeType 属性が指定されている場合は失敗します。
    • それ以外の場合、 Executable 属性または RuntimeType 属性が EntryPoint を指定せずに指定されている場合は失敗します。
  • LaunchAction (AppointmentsProviderLaunchActions の場合) でEntryPoint 属性が定義されている場合は、この LaunchAction (AppointmentsProviderLaunchActions 内) または親 uap:Extension 要素または Application 要素で Executable 属性を指定する必要があります。

必要条件

Item
名前空間 http://schemas.microsoft.com/appx/manifest/uap/windows10
Minimum OS Version Windows 10 バージョン 1511 (ビルド 10586)