RemoveEvent interface
Describes the results of the settings.remove event. Includes notifySuccess, and notifyFailure to indicate the status of whether the settings.save call succeeded or not and why.
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()
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für