WebAccountCommand Klasse

Definition

Ordnet einem WebAccount im Bereich "Kontoeinstellungen" einen Befehl zu.

public ref class WebAccountCommand sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.UI.ApplicationSettings.IWebAccountCommandFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.None)]
class WebAccountCommand 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.IWebAccountCommandFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class WebAccountCommand final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.UI.ApplicationSettings.IWebAccountCommandFactory), 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 WebAccountCommand
[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.IWebAccountCommandFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class WebAccountCommand
function WebAccountCommand(webAccount, invoked, actions)
Public NotInheritable Class WebAccountCommand
Vererbung
Object Platform::Object IInspectable WebAccountCommand
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

Fügen Sie instanzen der WebAccountCommand-Klasse der WebAccountCommands-Auflistung hinzu.

Konstruktoren

WebAccountCommand(WebAccount, WebAccountCommandInvokedHandler, SupportedWebAccountActions)

Initialisiert eine neue instance der WebAccountCommand-Klasse.

Eigenschaften

Actions

Ruft die Aktionen ab, die der Befehl für das Webkonto im Kontobereich ausführt.

Invoked

Ruft den Delegat ab, der aufgerufen wird, wenn der Benutzer ein Konto und eine bestimmte Aktion im Bereich "Kontoeinstellungen" auswählt.

WebAccount

Ruft das Webkonto ab, das dem aktuellen Befehl zugeordnet ist.

Gilt für:

Weitere Informationen