RemoveEvent interface
Methods
notify |
Indicates that removal of the underlying resource failed and that the content cannot be removed. |
notify |
Indicates that the underlying resource has been removed and the content can be removed. |
Method Details
notifyFailure(string)
Indicates that removal of the underlying resource failed and that the content cannot be removed.
function notifyFailure(reason?: string)
Parameters
- reason
-
string
Specifies a reason for the failure. If provided, this string is displayed to the user; otherwise a generic error is displayed.
notifySuccess()
Indicates that the underlying resource has been removed and the content can be removed.
function notifySuccess()
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour