Sdílet prostřednictvím


TcmContext – konstruktor (Uri, String, Int32)

Inicializuje novou instanci TcmContext třídy pomocí zadaného serveru jednotný identifikátor zdroje (JIZ), název projektu a testu ID.

Obor názvů:  Microsoft.VisualStudio.TestTools.Common
Sestavení:  Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Deklarace
Public Sub New ( _
    teamFoundationServerUri As Uri, _
    teamProjectName As String, _
    testRunId As Integer _
)
public TcmContext(
    Uri teamFoundationServerUri,
    string teamProjectName,
    int testRunId
)
public:
TcmContext(
    Uri^ teamFoundationServerUri, 
    String^ teamProjectName, 
    int testRunId
)
new : 
        teamFoundationServerUri:Uri * 
        teamProjectName:string * 
        testRunId:int -> TcmContext
public function TcmContext(
    teamFoundationServerUri : Uri, 
    teamProjectName : String, 
    testRunId : int
)

Parametry

  • teamFoundationServerUri
    Typ: System.Uri
    Identifikátor URI pro Team Foundation Server.
  • testRunId
    Typ: System.Int32
    Číselný Identifikátor zkoušky.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

TcmContext Třída

TcmContext – přetížení

Microsoft.VisualStudio.TestTools.Common – obor názvů