共用方式為


TeamFoundationRequestContext.GetReplicaAwareService<T> 方法

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Overridable Function GetReplicaAwareService(Of T As {Class, New, ITeamFoundationReplicaAwareService}) As T
public virtual T GetReplicaAwareService<T>()
where T : class, new(), ITeamFoundationReplicaAwareService

型別參數

  • T

傳回值

型別:T

.NET Framework 安全性

請參閱

參考

TeamFoundationRequestContext 類別

Microsoft.TeamFoundation.Framework.Server 命名空間