共用方式為


TeamFoundationRequestContext.GetClient<T> 方法 (Guid, Guid)

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

語法

'宣告
Public Overridable Function GetClient(Of T As VssHttpClientBase) ( _
    serviceOwner As Guid, _
    hostId As Guid _
) As T
public virtual T GetClient<T>(
    Guid serviceOwner,
    Guid hostId
)
where T : VssHttpClientBase

類型參數

  • T

參數

傳回值

類型:T

.NET Framework 安全性

請參閱

參考

TeamFoundationRequestContext 類別

GetClient 多載

Microsoft.TeamFoundation.Framework.Server 命名空間