WebAccountCommand WebAccountCommand WebAccountCommand WebAccountCommand Class

Associates a command with a WebAccount in the account settings pane..

Syntax

Declaration

public sealed class WebAccountCommandpublic sealed class WebAccountCommandPublic NotInheritable Class WebAccountCommand

Remarks

Add instances of the WebAccountCommand class to the WebAccountCommands collection.

Constructors summary

Initializes a new instance of the WebAccountCommand class.

Properties summary

Gets the actions that the command performs on the web account in the accounts pane.

Gets the delegate that's invoked when the user selects an account and a specific action in the account settings pane.

Gets the web account that's associated with the current command.

Constructors

  • WebAccountCommand(Windows.Security.Credentials.WebAccount,Windows.UI.ApplicationSettings.WebAccountCommandInvokedHandler,Windows.UI.ApplicationSettings.SupportedWebAccountActions)
    WebAccountCommand(Windows.Security.Credentials.WebAccount,Windows.UI.ApplicationSettings.WebAccountCommandInvokedHandler,Windows.UI.ApplicationSettings.SupportedWebAccountActions)
    WebAccountCommand(Windows.Security.Credentials.WebAccount,Windows.UI.ApplicationSettings.WebAccountCommandInvokedHandler,Windows.UI.ApplicationSettings.SupportedWebAccountActions)
    WebAccountCommand(Windows.Security.Credentials.WebAccount,Windows.UI.ApplicationSettings.WebAccountCommandInvokedHandler,Windows.UI.ApplicationSettings.SupportedWebAccountActions)

    Initializes a new instance of the WebAccountCommand class.

    public WebAccountCommand(Windows.Security.Credentials.WebAccount webAccount,Windows.UI.ApplicationSettings.WebAccountCommandInvokedHandler invoked,Windows.UI.ApplicationSettings.SupportedWebAccountActions actions)public WebAccountCommand(Windows.Security.Credentials.WebAccount webAccount,Windows.UI.ApplicationSettings.WebAccountCommandInvokedHandler invoked,Windows.UI.ApplicationSettings.SupportedWebAccountActions actions)Public Function WebAccountCommand(webAccount As Windows.Security.Credentials.WebAccount,invoked As Windows.UI.ApplicationSettings.WebAccountCommandInvokedHandler,actions As Windows.UI.ApplicationSettings.SupportedWebAccountActions) As

    Parameters

    Remarks

    Add instances of the WebAccountCommand class to the WebAccountCommands collection.

Properties

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MuseAttribute
Windows.Foundation.Metadata.ActivatableAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.UI.ApplicationSettings.dll