Condividi tramite


WebAccountProviderCommand Classe

Definizione

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

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
Ereditarietà
Object Platform::Object IInspectable WebAccountProviderCommand
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)

Costruttori

WebAccountProviderCommand(WebAccountProvider, WebAccountProviderCommandInvokedHandler)

Inizializza una nuova istanza della classe WebAccountProviderCommand .

Proprietà

Invoked

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

WebAccountProvider

Ottiene il provider di account Web associato al comando corrente.

Si applica a

Vedi anche