ITestRun.AddTest 方法 (Int32, String, String, ITmiTestImplementation)
命名空間: Microsoft.TeamFoundation.TestManagement.Client
組件: Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
語法
'宣告
Function AddTest ( _
configurationId As Integer, _
testCaseTitle As String, _
testCaseAreaUri As String, _
implementation As ITmiTestImplementation _
) As ITestCaseResult
ITestCaseResult AddTest(
int configurationId,
string testCaseTitle,
string testCaseAreaUri,
ITmiTestImplementation implementation
)
ITestCaseResult^ AddTest(
int configurationId,
String^ testCaseTitle,
String^ testCaseAreaUri,
ITmiTestImplementation^ implementation
)
abstract AddTest :
configurationId:int *
testCaseTitle:string *
testCaseAreaUri:string *
implementation:ITmiTestImplementation -> ITestCaseResult
function AddTest(
configurationId : int,
testCaseTitle : String,
testCaseAreaUri : String,
implementation : ITmiTestImplementation
) : ITestCaseResult
參數
- configurationId
類型:Int32
- testCaseTitle
類型:String
- testCaseAreaUri
類型:String
- implementation
類型:Microsoft.TeamFoundation.TestManagement.Client.ITmiTestImplementation
傳回值
類型:Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResult
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。