ComponentCreator<TComponent> Class

Team Foundation Server component creator.

Inheritance Hierarchy


Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)


Public NotInheritable Class ComponentCreator(Of TComponent As {New, TeamFoundationSqlResourceComponent}) _
    Implements IComponentCreator
public sealed class ComponentCreator<TComponent> : IComponentCreator 
where TComponent : new(), TeamFoundationSqlResourceComponent
generic<typename TComponent>
where TComponent : gcnew(), TeamFoundationSqlResourceComponent 
public ref class ComponentCreator sealed : IComponentCreator
type ComponentCreator<'TComponent when 'TComponent : new() and TeamFoundationSqlResourceComponent> =  
        interface IComponentCreator 
JScript does not support generic types or methods.

Type Parameters

  • TComponent
    The type of component to create.

The ComponentCreator<TComponent> type exposes the following members.


Name Description
Public method ComponentCreator<TComponent>(Int32) Initializes a new instance of the ComponentCreator class.
Public method ComponentCreator<TComponent>(Int32, Boolean) Initializes a new instance of the ComponentCreator class.



Name Description
Public property IsTransitionCreator
Public property ServiceVersion The version of the component/service that this class creates.



Name Description
Public method Create(TeamFoundationRequestContext, String) Creates a component using request context and the database category.
Public method Create(String, Int32, Int32, Int32) Creates a component using connection string.
Public method CreateHttp
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)


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


Microsoft.TeamFoundation.Framework.Server Namespace