WebAccountCommand
WebAccountCommand
WebAccountCommand
WebAccountCommand
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// You can use this class in JavaScript.
- 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) 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)// You can use this method in JavaScript.
Parameters
- webAccount
- WebAccount WebAccount WebAccount WebAccount
The web account to associate with the current command.
- invoked
- WebAccountCommandInvokedHandler WebAccountCommandInvokedHandler WebAccountCommandInvokedHandler WebAccountCommandInvokedHandler
The delegate that handles the command.
- actions
- SupportedWebAccountActions SupportedWebAccountActions SupportedWebAccountActions SupportedWebAccountActions
A bitmask of web account actions.
Remarks
Add instances of the WebAccountCommand class to the WebAccountCommands collection.
- See Also
Properties
Actions 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// You can use this property in JavaScript.
- Value
- SupportedWebAccountActions SupportedWebAccountActions SupportedWebAccountActions SupportedWebAccountActions
The actions for the web account.
Invoked 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// You can use this property in JavaScript.