다음을 통해 공유


mobile:Extension(Windows 10)

앱의 확장 지점을 선언합니다.

요소 계층 구조

<패키지>

    <애플리케이션>

         <애플리케이션>

              <확장>

                   <mobile:Extension>

Syntax

<mobile:Extension
    Category = 'A string that can have one of the following values: "windows.aowApp", "windows.mobileMultiScreenProperties", "windows.communicationBlockingProvider", or "windows.phoneCallOriginProvider".'
    Executable = 'An optional 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.'
    EntryPoint = 'An optional string with a value between 1 and 256 characters in length, representing the  task handling the extension. This is normally the fully namespace-qualified name of a Windows Runtime type. If EntryPoint is not specified, the EntryPoint defined for the app is used instead.'
    RuntimeType = 'An optional string with a value between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, \, |, ?, or *.'
    ResourceGroup = 'An optional alphanumeric string with a value between 1 and 255 characters in length. Must begin with a letter.'
    StartPage = 'An optional string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.' >

  <!-- Child elements -->
  mobile:AowApp
  mobile:MobileMultiScreenProperties?

</mobile:Extension>

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

특성 및 요소

특성

attribute Description 데이터 형식 필수 기본값
범주 앱 확장성 지점의 유형입니다. windows.aowApp, windows.mobileMultiScreenProperties, windows.communicationBlockingProvider 또는 windows.phoneCallOriginProvider 값 중 하나를 가질 수 있는 문자열입니다. Yes
실행 파일 기본 시작 실행 파일입니다. 길이가 1~256자인 선택적 문자열로, 로 끝나 .exe 야 하며 , , >, ?:"|또는 *문자를 <포함할 수 없습니다. 확장의 기본 실행 파일을 지정합니다. 지정하지 않으면 앱에 대해 정의된 실행 파일이 사용됩니다. 지정한 경우 EntryPoint 속성도 사용됩니다. 해당 EntryPoint 속성을 지정하지 않으면 앱에 대해 정의된 EntryPoint가 사용됩니다. No
EntryPoint 활성화 가능한 클래스 ID입니다. 확장을 처리하는 작업을 나타내는 길이가 1~256자인 선택적 문자열입니다. 이는 일반적으로 Windows 런타임 형식의 정규화된 네임스페이스 이름입니다. EntryPoint를 지정하지 않으면 앱에 대해 정의된 EntryPoint가 대신 사용됩니다. No
RuntimeType 런타임 공급자입니다. 이 특성은 일반적으로 앱에 혼합 프레임워크가 있는 경우에 사용됩니다. 마침표로 시작하거나 끝낼 수 없거나 , "\?>:/|또는 *문자를 포함할 수 없는 길이가 1~255자<인 선택적 문자열입니다. No
ResourceGroup 리소스 관리 목적(예: CPU 및 메모리)을 위해 확장 활성화를 그룹화하는 데 사용할 수 있는 태그입니다. ResourceGroup을 설정할 수 있는 값은 자유 형식이며 유연합니다. Application@ResourceGroup 참조하세요. 길이가 1~255자인 선택적 영숫자 문자열입니다. 문자로 시작해야 합니다. No
StartPage 확장성 지점을 처리하는 웹 페이지입니다. , ">:|?또는 *문자를 포함할 수 없는 길이가 1~256자<인 선택적 문자열입니다. No

자식 요소

자식 요소 Description
mobile:AowApp windows.aowApp 형식의 앱 확장 지점을 선언합니다.
mobile:MobileMultiScreenProperties 형식 창의 앱 확장 지점을 선언 합니다. MobileMultiScreenProperties.

부모 요소

부모 요소 Description
확장(형식: CT_ApplicationExtensions) 앱에 대한 하나 이상의 확장성 지점을 정의합니다.

예제

다음 예제에서는 모바일 앱이 연결된 디스플레이에 표시되지 않도록 차단하는 방법을 보여줍니다. 이 태그로 인해 연결된 디스플레이의 시작 메뉴에서 앱의 타일이 비활성화됩니다.

<Package
    xmlns:mobile="http://schemas.microsoft.com/appx/manifest/mobile/windows10"
    IgnorableNamespaces="... mobile">
    <Applications>
        <Application>
            <Extensions>
                <mobile:Extension
                    Category="windows.mobileMultiScreenProperties">
                    <mobile:MobileMultiScreenProperties
                        RestrictToInternalScreen="true"/>
                </mobile:Extension>
            </Extensions>
        </Application>
    </Applications>
</Package>      

요구 사항

항목
Namespace http://schemas.microsoft.com/appx/manifest/mobile/windows10
Minimum OS Version Windows 10 버전 1511(빌드 10586)