uap4:DevicePortalProvider

展開用のデバイス ポータル プロバイダーを定義します。 実装の詳細については、「 デバイス ポータル用のカスタム プラグインを記述 する」を参照してください。

要素の階層

<パッケージ>

    <アプリケーション>

         <Application>

              <拡張機能>

                   <uap4:Extension>

                        <uap4:DevicePortalProvider>

構文

<uap4:DevicePortalProvider
  DisplayName = 'A string with a value between 1 and 256 characters in length. This string is localizable.'
  AppServiceName = 'A string with a value between 2 and 39 characters in length that consists of alphanumeric characters, periods (except for the first character), and dashes only.'
  ContentRoute = 'An optional string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
  HandlerRoute = 'An optional string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.' />            

キー

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

属性と要素

属性

属性 説明 データ型 必須 既定値
DisplayName デバイス ポータル プロバイダーのフレンドリ表示名。 長さが 1 ~ 256 文字の値を持つ文字列。 この文字列はローカライズ可能です。 Yes
AppServiceName デバイス ポータル プロバイダーの起動に使用されるアプリ サービスの名前。 英数字、ピリオド (最初の文字を除く)、ダッシュ文字のみで構成される長さが 2 ~ 39 文字の文字列。 Yes
ContentRoute HTTP コンテンツ (JavaScript、HTML、CSS) を宣言するために使用されるルート (例: /foo) 1 ~ 32767 文字の長さの値を持ち、先頭と末尾に空白以外の文字を含む省略可能な文字列。 いいえ
HandlerRoute プロバイダーによって要求された API 名前空間 (例: /foo/bar)。 成功した HTTP 要求は、処理のためにプロバイダーに送信されます。 1 ~ 32767 文字の長さの値を持ち、先頭と末尾に空白以外の文字を含む省略可能な文字列。 いいえ

子要素

なし。

親要素

親要素 説明
uap4:Extension アプリの拡張ポイントを宣言します。

注釈

この拡張機能には、 devicePortalProvider の制限付き機能と 、privateNetworkClientServer または internetClientServer 機能が必要です。

注意

ContentRouteHandlerRoute を一緒に提供する必要はありません。

必要条件

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/4
Minimum OS Version Windows 10 バージョン 1703 (ビルド 15063)