Condividi tramite


CredentialCommand Classe

Definizione

Deprecato. Rappresenta un comando per modificare le credenziali dell'account Web nel riquadro impostazioni account.

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
Ereditarietà
Object Platform::Object IInspectable CredentialCommand
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Costruttori

CredentialCommand(PasswordCredential)

Inizializza una nuova istanza della classe CredentialCommand con un oggetto PasswordCredential .

CredentialCommand(PasswordCredential, CredentialCommandCredentialDeletedHandler)

Inizializza una nuova istanza della classe CredentialCommand con un oggetto PasswordCredential e un delegato CredentialCommandCredentialDeletedHandler .

Proprietà

CredentialDeleted

Ottiene il delegato richiamato dal riquadro impostazioni account quando l'utente elimina una credenziale.

PasswordCredential

Ottiene le credenziali della password a cui si applica il comando corrente.

Si applica a