desktop6:Service

앱과 함께 설치 및 등록된 서비스를 지정합니다. 이러한 서비스는 로컬 서비스, 네트워크 서비스 또는 로컬 시스템 계정으로 실행되도록 구성할 수 있습니다.

요소 계층 구조

<패키지>

    <애플리케이션>

         <애플리케이션>

              <확장>

                   <desktop6:Extension>

                        <desktop6:Service>

Syntax

<desktop6:Service
    Name = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
    StartupType = 'A string that can be one of the following values: "auto", "manual", "disabled", or "delayedStart".'
    StartAccount = 'A string that can be one of the following values: "localSystem", "localService", or "networkService".'
    Arguments = 'An optional string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.' >

    desktop6:Dependencies?
    desktop6:TriggerEvents?

</desktop6:Service>

? 선택 사항(0개 또는 1개)

특성 및 요소

특성

attribute Description 데이터 형식 필수 기본값
이름 서비스의 이름입니다. 시작과 끝에 공백이 아닌 문자가 있는 길이가 1~32767자인 문자열입니다. Yes
StartupType 서비스의 시작 유형입니다. 자동, 수동, 사용 안 함 또는 delayedStart 값 중 하나일 수 있는 문자열입니다. Yes
StartAccount 서비스를 실행할 계정 유형입니다. localSystem, localServices 또는 networkService 값 중 하나일 수 있는 문자열입니다. Yes
인수 서비스에 전달할 선택적 인수입니다. 시작과 끝에 공백이 아닌 문자가 있는 길이가 1~32767자인 선택적 문자열입니다. No

자식 요소

자식 요소 Description
desktop6:Dependencies 하나 이상의 종속 서비스를 지정합니다.
desktop6:TriggerEvents 서비스에 대한 하나 이상의 트리거 이벤트를 지정합니다.

부모 요소

부모 요소 Description
내선 번호 애플리케이션의 확장성 지점을 정의합니다.

설명

이 요소에는 packagedServices 또는 localSystemServices제한된 기능이 필요합니다.

요구 사항

항목
네임스페이스 http://schemas.microsoft.com/appx/manifest/desktop/windows10/6
Minimum OS Version Windows 10 버전 1903(빌드 18362)