BuildCanceledEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BuildCanceledEventArgs(String) |
Constructor to initialize all parameters. Sender field cannot be set here and is assumed to be "MSBuild". |
BuildCanceledEventArgs(String, DateTime) |
Constructor which allows the timestamp to be set. |
BuildCanceledEventArgs(String, DateTime, Object[]) |
Constructor which allows the timestamp to be set. |
BuildCanceledEventArgs(String)
- Source:
- BuildCanceledEventArgs.cs
Constructor to initialize all parameters. Sender field cannot be set here and is assumed to be "MSBuild".
public:
BuildCanceledEventArgs(System::String ^ message);
public BuildCanceledEventArgs(string message);
new Microsoft.Build.Framework.BuildCanceledEventArgs : string -> Microsoft.Build.Framework.BuildCanceledEventArgs
Public Sub New (message As String)
Parameters
- message
- String
text message
Applies to
BuildCanceledEventArgs(String, DateTime)
- Source:
- BuildCanceledEventArgs.cs
Constructor which allows the timestamp to be set.
public:
BuildCanceledEventArgs(System::String ^ message, DateTime eventTimestamp);
public BuildCanceledEventArgs(string message, DateTime eventTimestamp);
new Microsoft.Build.Framework.BuildCanceledEventArgs : string * DateTime -> Microsoft.Build.Framework.BuildCanceledEventArgs
Public Sub New (message As String, eventTimestamp As DateTime)
Parameters
- message
- String
text message
- eventTimestamp
- DateTime
Timestamp when the event was created
Applies to
BuildCanceledEventArgs(String, DateTime, Object[])
- Source:
- BuildCanceledEventArgs.cs
Constructor which allows the timestamp to be set.
public:
BuildCanceledEventArgs(System::String ^ message, DateTime eventTimestamp, ... cli::array <System::Object ^> ^ messageArgs);
public BuildCanceledEventArgs(string message, DateTime eventTimestamp, params object[]? messageArgs);
new Microsoft.Build.Framework.BuildCanceledEventArgs : string * DateTime * obj[] -> Microsoft.Build.Framework.BuildCanceledEventArgs
Public Sub New (message As String, eventTimestamp As DateTime, ParamArray messageArgs As Object())
Parameters
- message
- String
text message
- eventTimestamp
- DateTime
Timestamp when the event was created
- messageArgs
- Object[]
message arguments