ServicingContext.CreateComponent<TComponent> 方法

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Public Function CreateComponent(Of TComponent As {New, TeamFoundationSqlResourceComponent}) ( _
    databaseCategory As String, _
    partitionId As Integer, _
    commandTimeout As Integer, _
    deadlockPause As Integer, _
    maxDeadlockRetries As Integer _
) As TComponent
public TComponent CreateComponent<TComponent>(
    string databaseCategory,
    int partitionId,
    int commandTimeout,
    int deadlockPause,
    int maxDeadlockRetries
)
where TComponent : new(), TeamFoundationSqlResourceComponent

类型参数

  • TComponent

参数

返回值

类型:TComponent

.NET Framework 安全性

请参见

参考

ServicingContext 类

Microsoft.TeamFoundation.Framework.Server 命名空间