GenerateManifestBase.OnManifestResolved(Manifest) 方法

定义

在派生类中实现时,设置已解析的清单属性。When implemented in a derived class, sets resolved manifest properties.

此 API 支持产品基础结构,不能在代码中直接使用。

protected:
 abstract bool OnManifestResolved(Microsoft::Build::Tasks::Deployment::ManifestUtilities::Manifest ^ manifest);
protected abstract bool OnManifestResolved (Microsoft.Build.Tasks.Deployment.ManifestUtilities.Manifest manifest);
abstract member OnManifestResolved : Microsoft.Build.Tasks.Deployment.ManifestUtilities.Manifest -> bool
Protected MustOverride Function OnManifestResolved (manifest As Manifest) As Boolean

参数

manifest
Manifest

要设置其属性的清单。The manifest to set properties for.

返回

Boolean

若在设置清单属性时未发生错误,则为 true;否则为 falsetrue if no errors occurred when the manifest properties are set; otherwise, false.

注解

例如,解析的清单属性是发布服务器和产品。For example, resolved manifest properties are the publisher and product.

适用于