ProjectCreationContext Class

Represents the methodology template configuration information that is used by plug-ins when executing methodology template tasks.

Inheritance Hierarchy

System.Object
Microsoft.TeamFoundation.Client.ProjectCreationContext

Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class ProjectCreationContext
[SerializableAttribute]
public abstract class ProjectCreationContext
[SerializableAttribute]
public ref class ProjectCreationContext abstract
[<AbstractClass>]
[<SerializableAttribute>]
type ProjectCreationContext =  class end
public abstract class ProjectCreationContext

The ProjectCreationContext type exposes the following members.

Constructors

Name Description
Protected method ProjectCreationContext Initializes a new instance of the ProjectCreationContext class.

Top

Properties

Name Description
Protected property CancelationState Gets or sets the cancellation state of this context.
Public property IsCancelled Gets a flag that states whether project creation was canceled.
Public property LinksCollection Gets the mappings of artifact IDs to artifact URLs that are used during project creation.
Public property Logger Gets the logger that will log events during project creation.
Public property PrivateData Gets the private data that is stored by the plug-in.
Public property ProjectCollection Returns the TfsTeamProjectCollection object associated with this project creation context
Public property PublicData Gets public data that is stored by the plug-in.

Top

Methods

Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NotifyPropertyChanged Notifies observers of the public data so that they can update their copies accordingly.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

Name Description
Public event PropertyChanged Event for when a property is changed.

Top

Fields

Name Description
Protected field log

Top

Remarks

ProjectCreationContext holds the methodology template configuration information that is used by the plugins when executing the methodology template tasks.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Client Namespace