BuildContributorContext 构造函数

定义

初始化 BuildContributorContext 类的新实例。

public BuildContributorContext(System.Collections.Generic.Dictionary<string,object> buildProperties, System.Collections.Generic.Dictionary<string,string> arguments, Microsoft.SqlServer.Dac.Model.TSqlModel buildModel, Microsoft.Build.Framework.ITaskItem[] extensionFiles);
new Microsoft.SqlServer.Dac.Deployment.BuildContributorContext : System.Collections.Generic.Dictionary<string, obj> * System.Collections.Generic.Dictionary<string, string> * Microsoft.SqlServer.Dac.Model.TSqlModel * Microsoft.Build.Framework.ITaskItem[] -> Microsoft.SqlServer.Dac.Deployment.BuildContributorContext
Public Sub New (buildProperties As Dictionary(Of String, Object), arguments As Dictionary(Of String, String), buildModel As TSqlModel, extensionFiles As ITaskItem())

参数

buildProperties
Dictionary<String,Object>

命名属性值的一个 Dictionary<TKey, TValue> 。 Canno 为 null

arguments
Dictionary<String,String>

Dictionary<TKey, TValue>命令行参数和值。 不能为 null。

buildModel
TSqlModel

TSqlModel 项目的引用。 不能为 null。

extensionFiles
ITaskItem[]

一个 ITaskItem 对象数组。

适用于