共用方式為


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
)

參數

.NET Framework 安全性

請參閱

參考

TcmContext 類別

TcmContext 多載

Microsoft.VisualStudio.TestTools.Common 命名空間