Partager via


ProjectImportedEventArgs Class

Definition

Arguments for the project imported event.

public ref class ProjectImportedEventArgs : Microsoft::Build::Framework::BuildMessageEventArgs
[System.Serializable]
public class ProjectImportedEventArgs : Microsoft.Build.Framework.BuildMessageEventArgs
[<System.Serializable>]
type ProjectImportedEventArgs = class
    inherit BuildMessageEventArgs
Public Class ProjectImportedEventArgs
Inherits BuildMessageEventArgs
Inheritance
Attributes

Constructors

ProjectImportedEventArgs()

Initializes a new instance of the ProjectImportedEventArgs class.

ProjectImportedEventArgs(Int32, Int32, String, Object[])

Initializes a new instance of the ProjectImportedEventArgs class.

Fields

locker

Lock object.

(Inherited from LazyFormattedBuildEventArgs)

Properties

BuildEventContext

Event contextual information for the build event argument

(Inherited from BuildEventArgs)
Code

Code associated with event.

(Inherited from BuildMessageEventArgs)
ColumnNumber

Column number of interest in associated file.

(Inherited from BuildMessageEventArgs)
EndColumnNumber

Ending column number of interest in associated file.

(Inherited from BuildMessageEventArgs)
EndLineNumber

Ending line number of interest in associated file.

(Inherited from BuildMessageEventArgs)
File

File associated with event.

(Inherited from BuildMessageEventArgs)
HelpKeyword

Custom help keyword associated with event.

(Inherited from BuildEventArgs)
Importance

Importance of the message

(Inherited from BuildMessageEventArgs)
ImportedProjectFile

Gets or sets the full path to the project file that was imported. Will be null if the import statement was a glob and no files matched, or the condition (if any) evaluated to false.

ImportIgnored

Gets or sets if this import was ignored. Ignoring imports is controlled by ProjectLoadSettings. This is only set when an import would have been included but was ignored to due being invalid. This does not include when a globbed import returned no matches, or a conditioned import that evaluated to false.

LineNumber

Line number of interest in associated file.

(Inherited from BuildMessageEventArgs)
Message

Gets the formatted message.

(Inherited from LazyFormattedBuildEventArgs)
ProjectFile

The project which was building when the message was issued.

(Inherited from BuildMessageEventArgs)
RawMessage

Exposes the underlying message field without side-effects. Used for serialization.

(Inherited from BuildEventArgs)
RawTimestamp

Exposes the private timestamp field to derived types. Used for serialization. Avoids the side effects of calling the Timestamp getter.

(Inherited from BuildEventArgs)
SenderName

Name of the object sending this event.

(Inherited from BuildEventArgs)
Subcategory

The custom sub-type of the event.

(Inherited from BuildMessageEventArgs)
ThreadId

The thread that raised event.

(Inherited from BuildEventArgs)
Timestamp

The time when event was raised.

(Inherited from BuildEventArgs)
UnexpandedProject

Gets or sets the original value of the Project attribute.

Applies to