ServiceId
Identifica il servizio per un'azione di contatto.
Gerarchia degli elementi
- <Estensione>
-
- <Contatto>
-
- <ContactLaunchActions>
-
- <LaunchAction>
- <ServiceId>
Sintassi
<ServiceId>
Identifies the service for a contact.
</ServiceId>
Attributi ed elementi
Attributi
Nessuno.
Elementi figlio
Nessuno.
Elementi padre
Elemento padre | Descrizione |
---|---|
LaunchAction (in ContactLaunchActions) | Descrive un'azione del contenuto ContactLaunchActions . |
Commenti
La definizione ServiceId include le istruzioni seguenti:
<xs:complexType name="CT_ServiceId" mixed="true">
<xs:simpleContent>
<xs:extension base="ST_ServiceId">
<xs:attributeGroup ref="m:ExtensionBaseAttributes"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
L'istruzione 'ref' precedente indica che ServiceId eredita tutti questi attributi di base dell'estensione :
<xs:attributeGroup name="ExtensionBaseAttributes">
<xs:attribute name="Executable" type="ST_Executable" use="optional"/>
<xs:attribute name="EntryPoint" type="ST_EntryPoint" use="optional"/>
<xs:attribute name="RuntimeType" type="ST_ActivatableClassId" use="optional"/>
<xs:attribute name="StartPage" type="ST_FileName" use="optional"/>
</xs:attributeGroup>
Poiché ServiceId consente gli attributi di base dell'estensione , ha queste convalide semantiche che non sono coperte dallo schema del manifesto XSD:
Gli attributi di base dell'estensione devono seguire queste regole:
- Se viene specificato l'attributo StartPage , avrà esito negativo se viene specificato l'attributo EntryPoint, Executable o RuntimeType .
- In caso contrario, ha esito negativo se l'attributo Executable o RuntimeType viene specificato senza entryPoint specificato.
Se ServiceId definiscel'attributo EntryPoint , questo ServiceId o l'elemento Extension o Application padre deve specificare un attributo Executable .
Requisiti
Valore | |
---|---|
Namespace | http://schemas.microsoft.com/appx/2013/manifest |