Udostępnij za pośrednictwem


WebAccountProviderCommand Class

Definition

Associates a provider command with a WebAccountProvider in the account settings pane.

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
Inheritance
Object Platform::Object IInspectable WebAccountProviderCommand
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

WebAccountProviderCommand(WebAccountProvider, WebAccountProviderCommandInvokedHandler)

Initializes a new instance of the WebAccountProviderCommand class.

Properties

Invoked

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

WebAccountProvider

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

Applies to

See also