指定した情報を使用して、TestCaseEventArgs クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.VisualStudio.TestTools.Execution
アセンブリ: Microsoft.VisualStudio.QualityTools.ExecutionCommon (Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 内)
構文
'宣言
Protected Sub New ( _
context As DataCollectionContext, _
testElement As ITestElement, _
tcmInformation As TcmInformation _
)
protected TestCaseEventArgs(
DataCollectionContext context,
ITestElement testElement,
TcmInformation tcmInformation
)
protected:
TestCaseEventArgs(
DataCollectionContext^ context,
ITestElement^ testElement,
TcmInformation^ tcmInformation
)
new :
context:DataCollectionContext *
testElement:ITestElement *
tcmInformation:TcmInformation -> TestCaseEventArgs
protected function TestCaseEventArgs(
context : DataCollectionContext,
testElement : ITestElement,
tcmInformation : TcmInformation
)
パラメーター
- context
型: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext
DataCollectionContext オブジェクト。
- testElement
型: Microsoft.VisualStudio.TestTools.Common.ITestElement
ITestElement オブジェクトによって表される、現在のテスト要素。
- tcmInformation
型: Microsoft.VisualStudio.TestTools.Common.TcmInformation
テスト マネージャー からテストに関する詳細なデータを取得するために使用される TcmInformation オブジェクト。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。