Share via


uap2:WebAccountProvider

宣告 windows.webAccountProvider 類型的應用程式擴充點。

元素階層

<套件>

      <應用程式>

            <應用程式>

                  <擴充功能>

                        <uap2:Extension>

                              <uap2:WebAccountProvider>

Syntax

<uap2:WebAccountProvider
  Url = 'A string with a value between 1 and 32767 characters in length in the form of a valid web url.'
  BackgroundEntryPoint = 'A string with a value between 1 and 256 characters in length.'
  DisplayName = 'A string with a value between 1 and 256 characters in length.'
  DisplayPurpose = 'A string with a value between 1 and 2048 characters in length.'
  Square44x44Logo = 'A string with a value between 1 and 256 characters in length that ends with ".jpg", ".png", or ".jpeg" that cannot contain these characters: <, >, :, ", |, ?, or *. In this string, the / and \ characters cannot be the first or last characters.' >

  <!-- Child Elements -->
  uap2:managedUrls?

</uap2:webAccountProvider>

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
Url 指定外掛程式可能會傳送 Cookie 的 URL。 長度介於 1 到 32767 個字元之間的字串,格式為有效的 Web URL。 Yes
BackgroundEntryPoint 可啟用的類別識別碼。 長度介於 1 到 256 個字元之間的字串。 Yes
DisplayName 可向使用者顯示的易記名稱 長度介於 1 到 256 個字元之間的字串。 這個字串可當地語系化。 No
DisplayPurpose 表示帳戶提供者的目的。 長度介於 1 到 2048 個字元之間的字串。 No
Square44x44Logo 包含影像的檔案路徑 長度介於 1 到 256 個字元之間的字串,結尾為 、 或 且不能包含下列字元: < 、、 >:"|? 、 或 *.jpeg.png.jpg 在此字串中 / ,和 \ 字元不能是第一個或最後一個字元。 No

子元素

子項目 描述
uap2:ManagedUrls 提供多個 URL 的支援。 允許外掛程式指定它們可能會傳送 Cookie 的多個 URL。

父元素

父元素 描述
uap2:Extension 宣告應用程式的擴充點。

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/2
OS 最低版本 Windows 10版本 1511 (組建 10586)