Compartilhar via


WebAccountProviderCommand Classe

Definição

Associa um comando de provedor a um WebAccountProvider no painel de configurações da conta.

public ref class WebAccountProviderCommand sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.ApplicationSettings.IWebAccountProviderCommandFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
class WebAccountProviderCommand 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.IWebAccountProviderCommandFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class WebAccountProviderCommand final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.ApplicationSettings.IWebAccountProviderCommandFactory), 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 WebAccountProviderCommand
[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.IWebAccountProviderCommandFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class WebAccountProviderCommand
function WebAccountProviderCommand(webAccountProvider, invoked)
Public NotInheritable Class WebAccountProviderCommand
Herança
Object Platform::Object IInspectable WebAccountProviderCommand
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)

Construtores

WebAccountProviderCommand(WebAccountProvider, WebAccountProviderCommandInvokedHandler)

Inicializa uma nova instância da classe WebAccountProviderCommand .

Propriedades

Invoked

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

WebAccountProvider

Obtém o provedor de conta Web associado ao comando atual.

Aplica-se a

Confira também