CredentialCommand CredentialCommand CredentialCommand CredentialCommand CredentialCommand Class

Definition

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

public : sealed class CredentialCommand : ICredentialCommand
struct winrt::Windows::UI::ApplicationSettings::CredentialCommand : ICredentialCommand
public sealed class CredentialCommand : ICredentialCommand
Public NotInheritable Class CredentialCommand Implements ICredentialCommand
var credentialCommand = new credentialCommand(passwordCredential);
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) CredentialCommand(PasswordCredential) CredentialCommand(PasswordCredential)

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

public : CredentialCommand(PasswordCredential passwordCredential)
CredentialCommand(PasswordCredential passwordCredential) const;
public CredentialCommand(PasswordCredential passwordCredential)
Public Sub New(passwordCredential As PasswordCredential)
var credentialCommand = new credentialCommand(passwordCredential);
Parameters
passwordCredential
PasswordCredential PasswordCredential PasswordCredential

The password credential.

See Also

CredentialCommand(PasswordCredential, CredentialCommandCredentialDeletedHandler) CredentialCommand(PasswordCredential, CredentialCommandCredentialDeletedHandler) 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)
CredentialCommand(PasswordCredential passwordCredential, CredentialCommandCredentialDeletedHandler deleted) const;
public CredentialCommand(PasswordCredential passwordCredential, CredentialCommandCredentialDeletedHandler deleted)
Public Sub New(passwordCredential As PasswordCredential, deleted As CredentialCommandCredentialDeletedHandler)
var credentialCommand = new credentialCommand(passwordCredential, deleted);
Parameters
passwordCredential
PasswordCredential PasswordCredential PasswordCredential

The password credential.

See Also

Properties

CredentialDeleted CredentialDeleted CredentialDeleted CredentialDeleted CredentialDeleted

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

public : CredentialCommandCredentialDeletedHandler CredentialDeleted { get; }
CredentialCommandCredentialDeletedHandler CredentialDeleted();
public CredentialCommandCredentialDeletedHandler CredentialDeleted { get; }
Public ReadOnly Property CredentialDeleted As CredentialCommandCredentialDeletedHandler
var credentialCommandCredentialDeletedHandler = credentialCommand.credentialDeleted;
See Also

PasswordCredential PasswordCredential PasswordCredential PasswordCredential PasswordCredential

Gets the password credential that the current command applies to.

public : PasswordCredential PasswordCredential { get; }
PasswordCredential PasswordCredential();
public PasswordCredential PasswordCredential { get; }
Public ReadOnly Property PasswordCredential As PasswordCredential
var passwordCredential = credentialCommand.passwordCredential;