Udostępnij za pośrednictwem


Konstruktor TcmContext — (Uri, String, Int32)

Inicjuje nowe wystąpienie TcmContext klasy przy użyciu podanego serwera jednolitym identyfikatorem zasobów (URI), nazwę projektu i testu identyfikatora.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Common
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
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
    Identyfikator URI dla Team Foundation Server.
  • testRunId
    Typ: System.Int32
    Identyfikator numeryczny wykonywania badania.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

TcmContext Klasa

Przeciążenie TcmContext

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common