Credential​Command Credential​Command Credential​Command Class

Definition

Deprecated. Represents a command for changing web account credentials in the account settings pane.

public sealed class CredentialCommand : ICredentialCommandpublic sealed class CredentialCommand : ICredentialCommandPublic NotInheritable Class CredentialCommand Implements ICredentialCommand
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)

Constructors

CredentialCommand(PasswordCredential) CredentialCommand(PasswordCredential) CredentialCommand(PasswordCredential)

Initializes a new instance of the CredentialCommand class with a PasswordCredential object.

public CredentialCommand(PasswordCredential passwordCredential)public CredentialCommand(PasswordCredential passwordCredential)Public Sub New(passwordCredential As PasswordCredential)
Parameters
passwordCredential
PasswordCredential PasswordCredential PasswordCredential

The password credential.

Attributes

CredentialCommand(PasswordCredential, CredentialCommandCredentialDeletedHandler) CredentialCommand(PasswordCredential, CredentialCommandCredentialDeletedHandler) CredentialCommand(PasswordCredential, CredentialCommandCredentialDeletedHandler)

Initializes a new instance of the CredentialCommand class with a PasswordCredential object and a CredentialCommandCredentialDeletedHandler delegate.

public CredentialCommand(PasswordCredential passwordCredential, CredentialCommandCredentialDeletedHandler deleted)public CredentialCommand(PasswordCredential passwordCredential, CredentialCommandCredentialDeletedHandler deleted)Public Sub New(passwordCredential As PasswordCredential, deleted As CredentialCommandCredentialDeletedHandler)
Parameters
passwordCredential
PasswordCredential PasswordCredential PasswordCredential

The password credential.

Attributes

Properties

CredentialDeleted CredentialDeleted CredentialDeleted

Gets the delegate that's invoked by the account settings pane when the user deletes a credential.

public CredentialCommandCredentialDeletedHandler CredentialDeleted { get; }public CredentialCommandCredentialDeletedHandler CredentialDeleted { get; }Public ReadOnly Property CredentialDeleted As CredentialCommandCredentialDeletedHandler
Attributes

PasswordCredential PasswordCredential PasswordCredential

Gets the password credential that the current command applies to.

public PasswordCredential PasswordCredential { get; }public PasswordCredential PasswordCredential { get; }Public ReadOnly Property PasswordCredential As PasswordCredential
Attributes