TcmContext Constructor (Uri, String, Int32)
Initializes a new instance of the TcmContext class by using the provided server uniform resource identifier (URI), project name, and test run ID.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
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
)
Parameters
teamFoundationServerUri
Type: UriThe URI for the Team Foundation Server.
teamProjectName
Type: StringThe name of the team project.
testRunId
Type: Int32The numeric ID for the test run.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.