Partilhar via


BuildStartedEventArgs Constructor (String, String, DateTime, array<Object )

Constructor to allow timestamp to be set

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, _
    eventTimestamp As DateTime, _
    ParamArray messageArgs As Object() _
)
public BuildStartedEventArgs(
    string message,
    string helpKeyword,
    DateTime eventTimestamp,
    params Object[] messageArgs
)
public:
BuildStartedEventArgs(
    String^ message, 
    String^ helpKeyword, 
    DateTime eventTimestamp, 
    ... array<Object^>^ messageArgs
)
new : 
        message:string * 
        helpKeyword:string * 
        eventTimestamp:DateTime * 
        messageArgs:Object[] -> BuildStartedEventArgs
public function BuildStartedEventArgs(
    message : String, 
    helpKeyword : String, 
    eventTimestamp : DateTime, 
    ... messageArgs : Object[]
)

Parameters

  • eventTimestamp
    Type: System.DateTime

    Timestamp when the event was created

.NET Framework Security

See Also

Reference

BuildStartedEventArgs Class

BuildStartedEventArgs Overload

Microsoft.Build.Framework Namespace