ExtensionEventCallbackCollection interface
Collection of event callbacks - endpoints called when particular extension events occur.
Properties
post |
Optional. Defines an endpoint that gets called via a POST request to notify that an extension disable has occurred. |
post |
Optional. Defines an endpoint that gets called via a POST request to notify that an extension enable has occurred. |
post |
Optional. Defines an endpoint that gets called via a POST request to notify that an extension install has completed. |
post |
Optional. Defines an endpoint that gets called via a POST request to notify that an extension uninstall has occurred. |
post |
Optional. Defines an endpoint that gets called via a POST request to notify that an extension update has occurred. |
pre |
Optional. Defines an endpoint that gets called via a POST request to notify that an extension install is about to occur. Response indicates whether to proceed or abort. |
version |
For multi-version extensions, defines an endpoint that gets called via an OPTIONS request to determine the particular version of the extension to be used |
Property Details
postDisable
Optional. Defines an endpoint that gets called via a POST request to notify that an extension disable has occurred.
postDisable: ExtensionEventCallback
Property Value
postEnable
Optional. Defines an endpoint that gets called via a POST request to notify that an extension enable has occurred.
postEnable: ExtensionEventCallback
Property Value
postInstall
Optional. Defines an endpoint that gets called via a POST request to notify that an extension install has completed.
postInstall: ExtensionEventCallback
Property Value
postUninstall
Optional. Defines an endpoint that gets called via a POST request to notify that an extension uninstall has occurred.
postUninstall: ExtensionEventCallback
Property Value
postUpdate
Optional. Defines an endpoint that gets called via a POST request to notify that an extension update has occurred.
postUpdate: ExtensionEventCallback
Property Value
preInstall
Optional. Defines an endpoint that gets called via a POST request to notify that an extension install is about to occur. Response indicates whether to proceed or abort.
preInstall: ExtensionEventCallback
Property Value
versionCheck
For multi-version extensions, defines an endpoint that gets called via an OPTIONS request to determine the particular version of the extension to be used
versionCheck: ExtensionEventCallback
Property Value
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈