Share via


CredentialCommand Class

Definition

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

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
Inheritance
Object Platform::Object IInspectable CredentialCommand
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

CredentialCommand(PasswordCredential, CredentialCommandCredentialDeletedHandler)

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

CredentialCommand(PasswordCredential)

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

Properties

CredentialDeleted

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

PasswordCredential

Gets the password credential that the current command applies to.

Applies to