CredentialDialogShowDialog Method |
Namespace: Ookii.Dialogs.Wpf
Exception | Condition |
---|---|
CredentialException | An error occurred while showing the credentials dialog. |
InvalidOperationException | Target is an empty string (""). |
The credentials dialog will not be shown if one of the following conditions holds:
In these cases, the Credentials, UserName and Password properties will be set to the saved credentials and this function returns immediately, returning .
If the ShowSaveCheckBox property is , you should call ConfirmCredentials(Boolean) after validating if the provided credentials are correct.