WebAccountCommand Classe

Definizione

Associa un comando a un WebAccount nel riquadro delle impostazioni dell'account.

public ref class WebAccountCommand sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.ApplicationSettings.IWebAccountCommandFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
class WebAccountCommand final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.ApplicationSettings.IWebAccountCommandFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class WebAccountCommand final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.ApplicationSettings.IWebAccountCommandFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
public sealed class WebAccountCommand
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.ApplicationSettings.IWebAccountCommandFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class WebAccountCommand
function WebAccountCommand(webAccount, invoked, actions)
Public NotInheritable Class WebAccountCommand
Ereditarietà
Object Platform::Object IInspectable WebAccountCommand
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Commenti

Aggiungere istanze della classe WebAccountCommand all'insieme WebAccountCommands .

Costruttori

WebAccountCommand(WebAccount, WebAccountCommandInvokedHandler, SupportedWebAccountActions)

Inizializza una nuova istanza della classe WebAccountCommand .

Proprietà

Actions

Ottiene le azioni eseguite dal comando nell'account Web nel riquadro account.

Invoked

Ottiene il delegato richiamato quando l'utente seleziona un account e un'azione specifica nel riquadro impostazioni account.

WebAccount

Ottiene l'account Web associato al comando corrente.

Si applica a

Vedi anche