TfsTeamProjectCollection 建構函式 (Uri, TfsClientCredentials, IdentityDescriptor, ITfsRequestChannelFactory)
命名空間: Microsoft.TeamFoundation.Client
組件: Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)
語法
'宣告
Public Sub New ( _
uri As Uri, _
credentials As TfsClientCredentials, _
identityToImpersonate As IdentityDescriptor, _
channelFactory As ITfsRequestChannelFactory _
)
public TfsTeamProjectCollection(
Uri uri,
TfsClientCredentials credentials,
IdentityDescriptor identityToImpersonate,
ITfsRequestChannelFactory channelFactory
)
參數
- uri
類型:System.Uri
- credentials
類型:Microsoft.TeamFoundation.Client.TfsClientCredentials
- identityToImpersonate
類型:Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
- channelFactory
類型:ITfsRequestChannelFactory
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。