次の方法で共有


ProjectStartedEventArgs Constructors

Definition

Initializes a new instance of the ProjectStartedEventArgs class.

Overloads

ProjectStartedEventArgs()

Default constructor

ProjectStartedEventArgs(String, String, String, String, IEnumerable, IEnumerable)

This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".

ProjectStartedEventArgs(String, String, String, String, IEnumerable, IEnumerable, DateTime)

This constructor allows event data to be initialized. Also the timestamp can be set Sender is assumed to be "MSBuild".

ProjectStartedEventArgs(Int32, String, String, String, String, IEnumerable, IEnumerable, BuildEventContext)

This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".

ProjectStartedEventArgs(Int32, String, String, String, String, IEnumerable, IEnumerable, BuildEventContext, DateTime)

This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".

ProjectStartedEventArgs(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".

ProjectStartedEventArgs()

Source:
ProjectStartedEventArgs.cs

Default constructor

protected:
 ProjectStartedEventArgs();
protected ProjectStartedEventArgs ();
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
protected ProjectStartedEventArgs ();
Protected Sub New ()
Attributes

Applies to

ProjectStartedEventArgs(String, String, String, String, IEnumerable, IEnumerable)

Source:
ProjectStartedEventArgs.cs

This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".

public:
 ProjectStartedEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ projectFile, System::String ^ targetNames, System::Collections::IEnumerable ^ properties, System::Collections::IEnumerable ^ items);
public ProjectStartedEventArgs (string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items);
new Microsoft.Build.Framework.ProjectStartedEventArgs : string * string * string * string * System.Collections.IEnumerable * System.Collections.IEnumerable -> Microsoft.Build.Framework.ProjectStartedEventArgs
Public Sub New (message As String, helpKeyword As String, projectFile As String, targetNames As String, properties As IEnumerable, items As IEnumerable)

Parameters

message
String

text message

helpKeyword
String

help keyword

projectFile
String

project name

targetNames
String

targets we are going to build (empty indicates default targets)

properties
IEnumerable

list of properties

items
IEnumerable

list of items

Applies to

ProjectStartedEventArgs(String, String, String, String, IEnumerable, IEnumerable, DateTime)

Source:
ProjectStartedEventArgs.cs

This constructor allows event data to be initialized. Also the timestamp can be set Sender is assumed to be "MSBuild".

public:
 ProjectStartedEventArgs(System::String ^ message, System::String ^ helpKeyword, System::String ^ projectFile, System::String ^ targetNames, System::Collections::IEnumerable ^ properties, System::Collections::IEnumerable ^ items, DateTime eventTimestamp);
public ProjectStartedEventArgs (string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items, DateTime eventTimestamp);
public ProjectStartedEventArgs (string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, DateTime eventTimestamp);
new Microsoft.Build.Framework.ProjectStartedEventArgs : string * string * string * string * System.Collections.IEnumerable * System.Collections.IEnumerable * DateTime -> Microsoft.Build.Framework.ProjectStartedEventArgs
Public Sub New (message As String, helpKeyword As String, projectFile As String, targetNames As String, properties As IEnumerable, items As IEnumerable, eventTimestamp As DateTime)

Parameters

message
String

text message

helpKeyword
String

help keyword

projectFile
String

project name

targetNames
String

targets we are going to build (empty indicates default targets)

properties
IEnumerable

list of properties

items
IEnumerable

list of items

eventTimestamp
DateTime

The DateTime of the event.

Applies to

ProjectStartedEventArgs(Int32, String, String, String, String, IEnumerable, IEnumerable, BuildEventContext)

Source:
ProjectStartedEventArgs.cs

This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".

public:
 ProjectStartedEventArgs(int projectId, System::String ^ message, System::String ^ helpKeyword, System::String ^ projectFile, System::String ^ targetNames, System::Collections::IEnumerable ^ properties, System::Collections::IEnumerable ^ items, Microsoft::Build::Framework::BuildEventContext ^ parentBuildEventContext);
public ProjectStartedEventArgs (int projectId, string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items, Microsoft.Build.Framework.BuildEventContext parentBuildEventContext);
public ProjectStartedEventArgs (int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, Microsoft.Build.Framework.BuildEventContext? parentBuildEventContext);
new Microsoft.Build.Framework.ProjectStartedEventArgs : int * string * string * string * string * System.Collections.IEnumerable * System.Collections.IEnumerable * Microsoft.Build.Framework.BuildEventContext -> Microsoft.Build.Framework.ProjectStartedEventArgs
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)

Parameters

projectId
Int32

project id

message
String

text message

helpKeyword
String

help keyword

projectFile
String

project name

targetNames
String

targets we are going to build (empty indicates default targets)

properties
IEnumerable

list of properties

items
IEnumerable

list of items

parentBuildEventContext
BuildEventContext

event context info for the parent project

Applies to

ProjectStartedEventArgs(Int32, String, String, String, String, IEnumerable, IEnumerable, BuildEventContext, DateTime)

Source:
ProjectStartedEventArgs.cs

This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".

public:
 ProjectStartedEventArgs(int projectId, System::String ^ message, System::String ^ helpKeyword, System::String ^ projectFile, System::String ^ targetNames, System::Collections::IEnumerable ^ properties, System::Collections::IEnumerable ^ items, Microsoft::Build::Framework::BuildEventContext ^ parentBuildEventContext, DateTime eventTimestamp);
public ProjectStartedEventArgs (int projectId, string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items, Microsoft.Build.Framework.BuildEventContext parentBuildEventContext, DateTime eventTimestamp);
public ProjectStartedEventArgs (int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, Microsoft.Build.Framework.BuildEventContext? parentBuildEventContext, DateTime eventTimestamp);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public ProjectStartedEventArgs (int projectId, string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items, Microsoft.Build.Framework.BuildEventContext parentBuildEventContext, DateTime eventTimestamp);
new Microsoft.Build.Framework.ProjectStartedEventArgs : int * string * string * string * string * System.Collections.IEnumerable * System.Collections.IEnumerable * Microsoft.Build.Framework.BuildEventContext * DateTime -> Microsoft.Build.Framework.ProjectStartedEventArgs
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Framework.ProjectStartedEventArgs : int * string * string * string * string * System.Collections.IEnumerable * System.Collections.IEnumerable * Microsoft.Build.Framework.BuildEventContext * DateTime -> Microsoft.Build.Framework.ProjectStartedEventArgs
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, eventTimestamp As DateTime)

Parameters

projectId
Int32

project id

message
String

text message

helpKeyword
String

help keyword

projectFile
String

project name

targetNames
String

targets we are going to build (empty indicates default targets)

properties
IEnumerable

list of properties

items
IEnumerable

list of items

parentBuildEventContext
BuildEventContext

event context info for the parent project

eventTimestamp
DateTime

The DateTime of the event.

Attributes

Applies to

ProjectStartedEventArgs(Int32, String, String, String, String, IEnumerable, IEnumerable, BuildEventContext, IDictionary<String,String>, String)

Source:
ProjectStartedEventArgs.cs

This constructor allows event data to be initialized. Sender is assumed to be "MSBuild".

public:
 ProjectStartedEventArgs(int projectId, System::String ^ message, System::String ^ helpKeyword, System::String ^ projectFile, System::String ^ targetNames, System::Collections::IEnumerable ^ properties, System::Collections::IEnumerable ^ items, Microsoft::Build::Framework::BuildEventContext ^ parentBuildEventContext, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ globalProperties, System::String ^ toolsVersion);
public ProjectStartedEventArgs (int projectId, string message, string helpKeyword, string projectFile, string targetNames, System.Collections.IEnumerable properties, System.Collections.IEnumerable items, Microsoft.Build.Framework.BuildEventContext parentBuildEventContext, System.Collections.Generic.IDictionary<string,string> globalProperties, string toolsVersion);
public ProjectStartedEventArgs (int projectId, string message, string helpKeyword, string? projectFile, string? targetNames, System.Collections.IEnumerable? properties, System.Collections.IEnumerable? items, Microsoft.Build.Framework.BuildEventContext? parentBuildEventContext, System.Collections.Generic.IDictionary<string,string>? globalProperties, string? toolsVersion);
new Microsoft.Build.Framework.ProjectStartedEventArgs : int * string * string * string * string * System.Collections.IEnumerable * System.Collections.IEnumerable * Microsoft.Build.Framework.BuildEventContext * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Build.Framework.ProjectStartedEventArgs
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)

Parameters

projectId
Int32

project id

message
String

text message

helpKeyword
String

help keyword

projectFile
String

project name

targetNames
String

targets we are going to build (empty indicates default targets)

properties
IEnumerable

list of properties

items
IEnumerable

list of items

parentBuildEventContext
BuildEventContext

event context info for the parent project

globalProperties
IDictionary<String,String>

An IDictionary<TKey,TValue> containing global properties.

toolsVersion
String

The tools version.

Applies to