Freigeben über


CredentialCommand Klasse

Definition

Veraltet. Stellt einen Befehl zum Ändern von Webkontoanmeldeinformationen im Bereich Kontoeinstellungen dar.

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

Konstruktoren

CredentialCommand(PasswordCredential)

Initialisiert eine neue instance der CredentialCommand-Klasse mit einem PasswordCredential-Objekt.

CredentialCommand(PasswordCredential, CredentialCommandCredentialDeletedHandler)

Initialisiert eine neue instance der CredentialCommand-Klasse mit einem PasswordCredential-Objekt und einem CredentialCommandCredentialDeletedHandler-Delegat.

Eigenschaften

CredentialDeleted

Ruft den Delegat ab, der vom Kontoeinstellungenbereich aufgerufen wird, wenn der Benutzer Anmeldeinformationen löscht.

PasswordCredential

Ruft die Kennwortanmeldeinformationen ab, für die der aktuelle Befehl gilt.

Gilt für: