Compartilhar via


BuildStartedEventArgs Constructor (String, String, IDictionary<String, String>)

Constructor to initialize all parameters.

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 ( _
    message As String, _
    helpKeyword As String, _
    environmentOfBuild As IDictionary(Of String, String) _
)
public BuildStartedEventArgs(
    string message,
    string helpKeyword,
    IDictionary<string, string> environmentOfBuild
)
public:
BuildStartedEventArgs(
    String^ message, 
    String^ helpKeyword, 
    IDictionary<String^, String^>^ environmentOfBuild
)
new : 
        message:string * 
        helpKeyword:string * 
        environmentOfBuild:IDictionary<string, string> -> BuildStartedEventArgs
public function BuildStartedEventArgs(
    message : String, 
    helpKeyword : String, 
    environmentOfBuild : IDictionary<String, String>
)

Parameters

  • environmentOfBuild
    Type: IDictionary<String, String>

    A dictionary which lists the environment of the build when the build is started.

Remarks

Sender field cannot be set here and is assumed to be "MSBuild".

.NET Framework Security

See Also

Reference

BuildStartedEventArgs Class

BuildStartedEventArgs Overload

Microsoft.Build.Framework Namespace