desktop2:FirewallRules

指定 Windows 傳統型橋接器應用程式所使用的防火牆例外規則。

元素階層

<套件>

    <擴充功能>

         <desktop2:Extension>

              <desktop2:FirewallRules>

Syntax

<desktop2:FirewallRules
  Executable = 'A string with a value between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *. It 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 that EntryPoint property isnt specified, the EntryPoint defined for the app is used.' >

  <!-- Child elements -->
  Rule{0,1000}

</desktop2:FirewallRules>

答案

{} 特定出現次數範圍

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
可執行檔 應用程式可執行檔。 長度介於 1 到 256 個字元之間的字串,必須以 .exe 結尾且不能包含下列字元: < 、、 >: 、、 "|?* 。 它會指定延伸模組的預設可執行檔。 如果未指定,則會使用為應用程式定義的可執行檔。 如果指定,也會使用 EntryPoint 屬性。 如果未指定 EntryPoint 屬性,則會使用為應用程式定義的 EntryPoint。 Yes

子元素

子項目 描述
規則 定義防火牆例外狀況規則。

父元素

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

規格需求

Item
命名空間 http://schemas.microsoft.com/appx/manifest/desktop/windows10/2
OS 最低版本 Windows 10版本 1703 (組建 15063)