Поделиться через


desktop:ExecutionAlias

Исполняемый файл приложения UWP для активации из командной строки.

Element Hierarchy

< >

     <приложения>

          <приложения>

               <расширения>

                    <uap3:Extensions>

                        <uap3:AppExecutionAlias>

                              <desktop:ExecutionAlias>

Syntax

<desktop:ExecutionAlias
    Alias = 'An executable in the form of a string followed by ".exe".'
    uap8:AllowOverride = 'A boolean value.'
    desktop10:UseDesktopChangeRouter = 'A boolean value.' 
    desktop10:DropTarget = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
    desktop10:UseUrl = 'A boolean value.'
    desktop10:EnvironmentPath = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.' >

    <!-- Child elements -->
    desktop10:SupportedProtocols

</desktop:ExecutionAlias>

Атрибуты и элементы

Attributes

Attribute Description Data type Required Default value Default value
Alias Имя исполняемого файла приложения UWP. Исполняемый файл в виде строки, за которой следует .exe. Yes
uap8:AllowOverride Значение, указывающее, следует ли переопределить исполняемый файл приложения UWP. Значение boolean. No
desktop10:UseDesktopChangeRouter Используется приложениями отладчика, чтобы избежать взаимоблокировок диалоговых окон при отладке процесса проводника Windows. Значение boolean. No
desktop10:DropTarget The CLSID of an object, usually a local server rather than an in-process server, that implements IDropTarget. By default, when the drop target is an executable file and no value is provided for DropTarget, the shell converts the list of dropped files into a command-line parameter and passes it to ShellExecuteEx in the lpParameters parameter. GUID в форме xxxx-xxxx-xxxx-xxxx-xxxx. No
desktop10:UseUrl Если задано значение true, указывает, что приложение может принимать URL-адрес вместо имени файла в командной строке. Приложения, которые могут открывать документы непосредственно из Интернета, таких как веб-браузеры и проигрыватели мультимедиа, должны использовать это значение. When ShellExecuteEx starts an application and this value is set to false, the default behavior, ShellExecuteEx downloads the document to a local file and invokes the handler on the local copy. Значение boolean. No
desktop10:EnvironmentPath Строка, содержащая список каталогов с запятой, указывающий полный путь к исполняемому файлу приложения. The value is appended to the PATH environment variable when an application is launched with a call to ShellExecuteEx. Строка со значением от 1 до 32767 символов длиной с символом без пробелов в начале и конце. No

Child elements

Child element Description
desktop10:SupportedProtocols Указывает поддерживаемые схемы протокола URL-адресов для заданного ключа.

Parent elements

Parent element Description
uap3:AppExecutionAlias Объявляет точку расширяемости псевдонима для приложения.

Remarks

Атрибуты и дочерние элементы из пространства имен desktop10 поддерживаются только в экземплярах расширений, которые указывают CompatMode="classic" и поддерживаются только на классических номерах SKU.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/foundation/windows10
uap8 http://schemas.microsoft.com/appx/manifest/uap/windows10/8
desktop10 http://schemas.microsoft.com/appx/manifest/desktop/windows10/10
минимальная версия ОС Windows 10 версии 1607 (сборка 14393)