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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應