ProjectStartedEventArgs Constructor (Int32, String, String, String, String, IEnumerable, IEnumerable, BuildEventContext, IDictionary<String, String>, String)
This constructor allows event data to be initialized.
Sender is assumed to be "MSBuild".
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace: Microsoft.Build.Framework
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
projectId As Integer, _
message As String, _
helpKeyword As String, _
projectFile As String, _
targetNames As String, _
properties As IEnumerable, _
items As IEnumerable, _
parentBuildEventContext As BuildEventContext, _
globalProperties As IDictionary(Of String, String), _
toolsVersion As String _
)
public ProjectStartedEventArgs(
int projectId,
string message,
string helpKeyword,
string projectFile,
string targetNames,
IEnumerable properties,
IEnumerable items,
BuildEventContext parentBuildEventContext,
IDictionary<string, string> globalProperties,
string toolsVersion
)
public:
ProjectStartedEventArgs(
int projectId,
String^ message,
String^ helpKeyword,
String^ projectFile,
String^ targetNames,
IEnumerable^ properties,
IEnumerable^ items,
BuildEventContext^ parentBuildEventContext,
IDictionary<String^, String^>^ globalProperties,
String^ toolsVersion
)
new :
projectId:int *
message:string *
helpKeyword:string *
projectFile:string *
targetNames:string *
properties:IEnumerable *
items:IEnumerable *
parentBuildEventContext:BuildEventContext *
globalProperties:IDictionary<string, string> *
toolsVersion:string -> ProjectStartedEventArgs
public function ProjectStartedEventArgs(
projectId : int,
message : String,
helpKeyword : String,
projectFile : String,
targetNames : String,
properties : IEnumerable,
items : IEnumerable,
parentBuildEventContext : BuildEventContext,
globalProperties : IDictionary<String, String>,
toolsVersion : String
)
Parameters
projectId
Type: System.Int32project id
message
Type: System.Stringtext message
helpKeyword
Type: System.Stringhelp keyword
projectFile
Type: System.Stringproject name
targetNames
Type: System.Stringtargets we are going to build (empty indicates default targets)
properties
Type: System.Collections.IEnumerablelist of properties
items
Type: System.Collections.IEnumerablelist of items
parentBuildEventContext
Type: Microsoft.Build.Framework.BuildEventContextevent context info for the parent project
toolsVersion
Type: System.StringThe tools version
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.