Partilhar via


CredentialCommand Classe

Definição

Preterido. Representa um comando para alterar as credenciais da conta Web no painel de configurações da conta.

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
Herança
Object Platform::Object IInspectable CredentialCommand
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)

Construtores

CredentialCommand(PasswordCredential)

Inicializa uma nova instância da classe CredentialCommand com um objeto PasswordCredential .

CredentialCommand(PasswordCredential, CredentialCommandCredentialDeletedHandler)

Inicializa uma nova instância da classe CredentialCommand com um objeto PasswordCredential e um delegado CredentialCommandCredentialDeletedHandler .

Propriedades

CredentialDeleted

Obtém o delegado invocado pelo painel de configurações da conta quando o usuário exclui uma credencial.

PasswordCredential

Obtém a credencial de senha à qual o comando atual se aplica.

Aplica-se a