ProjectContext 建構函式 (TeamFoundationServer, String, String)
注意:這個應用程式開發介面現在已經過時。
命名空間: Microsoft.VisualStudio.TeamFoundation
組件: Microsoft.VisualStudio.TeamFoundation (在 Microsoft.VisualStudio.TeamFoundation.dll 中)
語法
'宣告
<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")> _
Public Sub New ( _
tfs As TeamFoundationServer, _
projectName As String, _
projectUri As String _
)
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this method. Use the overload of this method that takes a TfsTeamProjectCollection object instead.")]
public ProjectContext(
TeamFoundationServer tfs,
string projectName,
string projectUri
)
參數
- projectName
類型:System.String
- projectUri
類型:System.String
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。