Partilhar via


WebAccountCommand Classe

Definição

Associa um comando a uma WebAccount no painel de configurações da conta..

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
Herança
Object Platform::Object IInspectable WebAccountCommand
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)

Comentários

Adicione instâncias da classe WebAccountCommand à coleção WebAccountCommands .

Construtores

WebAccountCommand(WebAccount, WebAccountCommandInvokedHandler, SupportedWebAccountActions)

Inicializa uma nova instância da classe WebAccountCommand .

Propriedades

Actions

Obtém as ações que o comando executa na conta Web no painel contas.

Invoked

Obtém o delegado que é invocado quando o usuário seleciona uma conta e uma ação específica no painel de configurações da conta.

WebAccount

Obtém a conta web associada ao comando atual.

Aplica-se a

Confira também