Condividi tramite


BuildStartedEventArgs Constructor (String, String, DateTime)

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 _
)
public BuildStartedEventArgs(
    string message,
    string helpKeyword,
    DateTime eventTimestamp
)
public:
BuildStartedEventArgs(
    String^ message, 
    String^ helpKeyword, 
    DateTime eventTimestamp
)
new : 
        message:string * 
        helpKeyword:string * 
        eventTimestamp:DateTime -> BuildStartedEventArgs
public function BuildStartedEventArgs(
    message : String, 
    helpKeyword : String, 
    eventTimestamp : DateTime
)

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