SetExtensionDeprecationRequest interface

请求有效载荷以设置(创建或更新)扩展的弃用状态。 仅暴露调用者可能指定的字段;服务器解析数据(如替换的显示名称)会在扩展查询响应中返回,但此处不接受。

属性

customMessage

发布商提供的可选消息,向已弃用扩展的用户展示。

effectiveDate

废弃生效的日期。 当未设置时,默认为当前(服务器端)时间。

effectiveFromProductVersion

可选的 Visual Studio 产品版本(major.minor),该扩展在该版本之后被弃用。

replacementName

推荐替换扩展名的可选完全限定名称(“publisherName.extensionName”)。 空或空表示没有替代。

属性详细信息

customMessage

发布商提供的可选消息,向已弃用扩展的用户展示。

customMessage: string

属性值

string

effectiveDate

废弃生效的日期。 当未设置时,默认为当前(服务器端)时间。

effectiveDate: Date

属性值

Date

effectiveFromProductVersion

可选的 Visual Studio 产品版本(major.minor),该扩展在该版本之后被弃用。

effectiveFromProductVersion: string

属性值

string

replacementName

推荐替换扩展名的可选完全限定名称(“publisherName.extensionName”)。 空或空表示没有替代。

replacementName: string

属性值

string