TfsTeamProjectCollection コンストラクター (Uri, ICredentialsProvider)
メモ: この API は、互換性のために残されています。
TfsTeamProjectCollection クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.TeamFoundation.Client
アセンブリ: Microsoft.TeamFoundation.Client (Microsoft.TeamFoundation.Client.dll 内)
構文
'宣言
<ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See constructors which utilize TfsClientCredentials instead.")> _
Public Sub New ( _
uri As Uri, _
credentialsProvider As ICredentialsProvider _
)
[ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See constructors which utilize TfsClientCredentials instead.")]
public TfsTeamProjectCollection(
Uri uri,
ICredentialsProvider credentialsProvider
)
パラメーター
- uri
型: System.Uri
プロジェクト コレクションの URI。
- credentialsProvider
型: Microsoft.TeamFoundation.Client.ICredentialsProvider
現在の環境の資格情報が失敗したときに資格情報を取得するために使用されます。
例外
例外 | 状態 |
---|---|
ArgumentNullException | uri が null のとき |
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。