Compartir a través de


SaveEvent interface

Properties

result

Object containing properties passed as arguments to the settings.save event.

Methods

notifyFailure(string)

Indicates that creation of the underlying resource failed and that the settings cannot be saved.

notifySuccess()

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()