TcmContext 建構函式 (Uri, String, Int32, String)
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
Public Sub New ( _
teamFoundationServerUri As Uri, _
teamProjectName As String, _
testRunId As Integer, _
buildDirectory As String _
)
public TcmContext(
Uri teamFoundationServerUri,
string teamProjectName,
int testRunId,
string buildDirectory
)
public:
TcmContext(
Uri^ teamFoundationServerUri,
String^ teamProjectName,
int testRunId,
String^ buildDirectory
)
new :
teamFoundationServerUri:Uri *
teamProjectName:string *
testRunId:int *
buildDirectory:string -> TcmContext
public function TcmContext(
teamFoundationServerUri : Uri,
teamProjectName : String,
testRunId : int,
buildDirectory : String
)
參數
- teamFoundationServerUri
型別:System.Uri
- teamProjectName
型別:System.String
- testRunId
型別:System.Int32
- buildDirectory
型別:System.String
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。