SaveEvent interface
Properties
result | Object containing properties passed as arguments to the settings.save event. |
Methods
notify |
Indicates that creation of the underlying resource failed and that the settings cannot be saved. |
notify |
Indicates that the underlying resource has been created and the settings can be saved. |
Property Details
result
Object containing properties passed as arguments to the settings.save event.
result: SaveParameters
Property Value
@microsoft/teams-js.@microsoft.teams-js.settings.SaveParameters
Method Details
notifyFailure(string)
Indicates that creation of the underlying resource failed and that the settings cannot be saved.
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 created and the settings can be saved.
function notifySuccess()
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈