TcmContext 생성자 (Uri, String, Int32)
제공된 서버 URI(Uniform Resource Identifier), 프로젝트 이름 및 테스트 실행 ID를 사용하여 TcmContext 클래스의 새 인스턴스를 초기화합니다.
네임스페이스: 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 _
)
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
)
매개 변수
- teamFoundationServerUri
형식: System.Uri
Team Foundation Server의 URI입니다.
- teamProjectName
형식: System.String
팀 프로젝트의 이름입니다.
- testRunId
형식: System.Int32
테스트 실행의 숫자 ID입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.