次の方法で共有


TfsConfigurationServer コンストラクター (Uri, ICredentials, ICredentialsProvider)

メモ: この API は、互換性のために残されています。

TfsConfigurationServer オブジェクトの新しいインスタンスを初期化します。

名前空間:  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, _
    credentials As ICredentials, _
    credentialsProvider As ICredentialsProvider _
)
[ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See constructors which utilize TfsClientCredentials instead.")]
public TfsConfigurationServer(
    Uri uri,
    ICredentials credentials,
    ICredentialsProvider credentialsProvider
)

パラメーター

  • uri
    型 : System.Uri
    Team Foundation Serverを実行しているサーバーの汎用リソース識別子 (URI)。

例外

例外 条件
ArgumentNullException

uri かが null のとき credentials

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

TfsConfigurationServer クラス

TfsConfigurationServer オーバーロード

Microsoft.TeamFoundation.Client 名前空間

その他の技術情報

コンソール アプリケーションからの Team Foundation Server への接続

コンソール アプリケーションからの Team Foundation Server への接続