Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Descrive un'azione uap:AppointmentsProviderLaunchActions di contenuto.
Gerarchia elementi
<Package>
└─ <Applications>
└─ <Application>
└─ <Extensions>
└─ <uap:Extension>
└─ <uap:AppointmentsProvider>
└─ <uap:AppointmentsProviderLaunchActions>
└─ <uap:LaunchAction>
Sintassi
<uap:LaunchAction
EntryPoint = 'A string with an optional value between 1 and 256 characters in length. Represents the task handling the extension (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.'
Executable = 'A string with an optional value between 1 and 256 characters in length, that must end with ".exe", and cannot contain the following characters: <, >, :, ", |, ?, or *. 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 the EntryPoint property is not specified, the EntryPoint defined for the app is used.'
RuntimeType = 'A string with an optional value between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, \, |, ?, or *.'
StartPage = 'A string with an optional value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
ResourceGroup = 'An alphanumeric string with an optional value between 1 and 255 characters in length. Must begin with a letter.'
Verb = 'A string that can have any of the following values: "addAppointment", "removeAppointment", "replaceAppointment", "showTimeFrame", or "showAppointmentDetails".'
DesiredView = 'A string that can have any of the following values: "default", "useLess", "useHalf", "useMore", or "useMinimum".' />
chiave
? facoltativo (zero o uno)
Attributi ed elementi
Attributes
| Attribute | Descrizione | Tipo di dati | Obbligatorio | Valore predefinito |
|---|---|---|---|---|
| EntryPoint | ID classe attivabile. | Stringa con un valore compreso tra 1 e 256 caratteri. Rappresenta l'attività che gestisce l'estensione (in genere il nome completo dello spazio dei nomi di un tipo di Windows Runtime). Se EntryPoint non viene specificato, viene invece usato EntryPoint definito per l'app. | NO | |
| File eseguibile | Eseguibile di avvio predefinito. | Stringa con un valore compreso tra 1 e 256 caratteri, che deve terminare con .exee non può contenere questi caratteri: <, >, :, ", |, ?o *. Specifica il file eseguibile predefinito per l'estensione. Se non specificato, viene usato il file eseguibile definito per l'app. Se specificato, viene utilizzata anche la proprietà EntryPoint. Se la proprietà EntryPoint non è specificata, viene usato entrypoint definito per l'app. |
NO | |
| runtimeType | Provider di runtime. In genere usato quando sono presenti framework mescolati in un'app. | Stringa con un valore compreso tra 1 e 255 caratteri che non può iniziare o terminare con una . o contenere caratteri: <, >, :, ", |, ?o *. |
NO | |
| StartPage | Pagina Web che gestisce il punto di estendibilità. | Stringa con un valore compreso tra 1 e 256 caratteri che non può contenere questi caratteri: <, >, :, ", |, ?o *. |
NO | |
| ResourceGroup | Tag facoltativo usato per raggruppare le attivazioni dell'estensione per scopi di gestione delle risorse, ad esempio CPU e memoria. Vedere la sezione Osservazioni in Application@ResourceGroup. | Stringa alfanumerica compresa tra 1 e 255 caratteri. Deve iniziare con una lettera. | NO | |
| Verbo | Identificatore univoco passato all'app all'avvio. L'app può usare questa stringa per determinare quale uap:AppointmentsProviderLaunchActions gestore ha attivato l'avvio. È univoco per ogni applicazione nel pacchetto e fa distinzione tra maiuscole e minuscole. | Stringa che può avere uno dei valori seguenti: addAppointment, removeAppointment, replaceAppointment, showTimeFrame o showAppointmentDetails. | NO | |
| DesiredView | Quantità desiderata di spazio sullo schermo da utilizzare all'avvio dell'appuntamento. | Stringa che può avere uno dei valori seguenti: default, useLess, useHalf, useMore o useMinimum. | NO |
Elementi figli
Nessuno.
Elementi principali
| Elemento padre | Descrizione |
|---|---|
| uap:AppointmentsProviderLaunchActions | Dichiara le azioni da eseguire quando viene avviato un appuntamento. |
Vedere anche
Gli elementi seguenti hanno lo stesso nome di questo, ma diversi contenuti o attributi:
Osservazioni:
Per altre informazioni sulle azioni di avvio eseguite da un provider di appuntamenti, vedi AppointmentsProviderLaunchActionVerbs.
LaunchAction (in AppointmentsProviderLaunchActions) ha le convalide semantiche seguenti:
Gli attributi di base dell'estensione devono seguire queste regole:
- Se si specifica l'attributo StartPage , non riesce se viene specificato l'attributo EntryPoint, Executable o RuntimeType .
- In caso contrario, non eseguire l'operazione se l'attributo Executable o RuntimeType viene specificato senza specificare EntryPoint .
Se LaunchAction (in AppointmentsProviderLaunchActions) definisce l'attributo EntryPoint , launchAction (in AppointmentsProviderLaunchActions) o l'elemento padre uap:Extension o Application deve specificare un attributo Executable .
Requisiti
| Elemento | Valore |
|---|---|
| Namespace | http://schemas.microsoft.com/appx/manifest/uap/windows10 |
| versione minima del sistema operativo | Windows 10 versione 1511 (Build 10586) |