Web​Account​Command Web​Account​Command Web​Account​Command Class

Definition

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

public : sealed class WebAccountCommand : IWebAccountCommandpublic sealed class WebAccountCommand : IWebAccountCommandPublic NotInheritable Class WebAccountCommand Implements IWebAccountCommand
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Add instances of the WebAccountCommand class to the WebAccountCommands collection.

Constructors

WebAccountCommand(WebAccount, WebAccountCommandInvokedHandler, SupportedWebAccountActions) WebAccountCommand(WebAccount, WebAccountCommandInvokedHandler, SupportedWebAccountActions) WebAccountCommand(WebAccount, WebAccountCommandInvokedHandler, SupportedWebAccountActions)

Initializes a new instance of the WebAccountCommand class.

public : WebAccountCommand(WebAccount webAccount, WebAccountCommandInvokedHandler invoked, SupportedWebAccountActions actions)public WebAccountCommand(WebAccount webAccount, WebAccountCommandInvokedHandler invoked, SupportedWebAccountActions actions)Public Sub New(webAccount As WebAccount, invoked As WebAccountCommandInvokedHandler, actions As SupportedWebAccountActions)
Parameters
webAccount
WebAccount WebAccount WebAccount

The web account to associate with the current command.

Attributes

Remarks

Add instances of the WebAccountCommand class to the WebAccountCommands collection.

See Also

Properties

Actions Actions Actions

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

public : SupportedWebAccountActions Actions { get; }public SupportedWebAccountActions Actions { get; }Public ReadOnly Property Actions As SupportedWebAccountActions
Attributes

Invoked Invoked Invoked

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

public : WebAccountCommandInvokedHandler Invoked { get; }public WebAccountCommandInvokedHandler Invoked { get; }Public ReadOnly Property Invoked As WebAccountCommandInvokedHandler
Attributes

WebAccount WebAccount WebAccount

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

public : WebAccount WebAccount { get; }public WebAccount WebAccount { get; }Public ReadOnly Property WebAccount As WebAccount
Value
WebAccount WebAccount WebAccount

The web account.

Attributes

See Also