Windows Dev Center

CredentialCommand class

Deprecated. 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);

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 (Windows 10 device family)

Device family

Desktop

API contract

Windows.UI.ApplicationSettings.ApplicationsSettingsContract, introduced version 1.0

Namespace

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

Metadata

Windows.UI.ApplicationSettings.ApplicationsSettingsContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

Object

 

 

Show:
© 2015 Microsoft