TestStepEndEventArgs 建構函式
命名空間: Microsoft.VisualStudio.TestTools.Execution
組件: Microsoft.VisualStudio.QualityTools.ExecutionCommon (在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)
語法
'宣告
Public Sub New ( _
context As DataCollectionContext, _
testElement As ITestElement, _
tcmInformation As TcmInformation, _
testStepId As Integer, _
testStepDescription As String, _
testStepOutcome As TestOutcome _
)
public TestStepEndEventArgs(
DataCollectionContext context,
ITestElement testElement,
TcmInformation tcmInformation,
int testStepId,
string testStepDescription,
TestOutcome testStepOutcome
)
public:
TestStepEndEventArgs(
DataCollectionContext^ context,
ITestElement^ testElement,
TcmInformation^ tcmInformation,
int testStepId,
String^ testStepDescription,
TestOutcome testStepOutcome
)
new :
context:DataCollectionContext *
testElement:ITestElement *
tcmInformation:TcmInformation *
testStepId:int *
testStepDescription:string *
testStepOutcome:TestOutcome -> TestStepEndEventArgs
public function TestStepEndEventArgs(
context : DataCollectionContext,
testElement : ITestElement,
tcmInformation : TcmInformation,
testStepId : int,
testStepDescription : String,
testStepOutcome : TestOutcome
)
參數
- testElement
型別:Microsoft.VisualStudio.TestTools.Common.ITestElement
- tcmInformation
型別:Microsoft.VisualStudio.TestTools.Common.TcmInformation
- testStepId
型別:System.Int32
- testStepDescription
型別:System.String
- testStepOutcome
型別:Microsoft.VisualStudio.TestTools.Common.TestOutcome
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。