CredentialCommand class

Applies to Windows only

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

Syntax


var credentialCommand = new Windows.UI.ApplicationSettings.CredentialCommand(passwordCredential);
var credentialCommand = new Windows.UI.ApplicationSettings.CredentialCommand(passwordCredential, credentialCommandCredentialDeletedHandler);

Attributes

[MarshalingBehavior(None)]
[Muse()]
[Version(0x06030000)]

Members

The CredentialCommand class has these types of members:

Constructors

The CredentialCommand class has these constructors.

ConstructorDescription
CredentialCommand(PasswordCredential) Initializes a new instance of the CredentialCommand class with a PasswordCredential object.
CredentialCommand(PasswordCredential, CredentialCommandCredentialDeletedHandler) Initializes a new instance of the CredentialCommand class with a PasswordCredential object and a CredentialCommandCredentialDeletedHandler delegate.

 

Methods

The CredentialCommand class inherits methods from the Object class (C#/VB/C++).

Properties

The CredentialCommand class has these properties.

PropertyAccess typeDescription

CredentialDeleted

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

PasswordCredential

Read-onlyGets the password credential that the current command applies to.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.UI.ApplicationSettings
Windows::UI::ApplicationSettings [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft