指定したパラメーター値を使用して、TestCaseFailedEventArgs クラスの新しいインスタンスを初期化します。
名前空間: 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, _
failureType As TestCaseFailureType _
)
public TestCaseFailedEventArgs(
DataCollectionContext context,
ITestElement testElement,
TcmInformation tcmInformation,
TestCaseFailureType failureType
)
public:
TestCaseFailedEventArgs(
DataCollectionContext^ context,
ITestElement^ testElement,
TcmInformation^ tcmInformation,
TestCaseFailureType failureType
)
new :
context:DataCollectionContext *
testElement:ITestElement *
tcmInformation:TcmInformation *
failureType:TestCaseFailureType -> TestCaseFailedEventArgs
public function TestCaseFailedEventArgs(
context : DataCollectionContext,
testElement : ITestElement,
tcmInformation : TcmInformation,
failureType : TestCaseFailureType
)
パラメーター
- context
型: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext
現在のコンテキスト情報を含む DataCollectionContext オブジェクト。
- testElement
型: Microsoft.VisualStudio.TestTools.Common.ITestElement
関連付けられた ITestElement オブジェクト。
- tcmInformation
型: Microsoft.VisualStudio.TestTools.Common.TcmInformation
テスト ケース マネージャーの情報が格納されている TcmInformation。
- failureType
型: Microsoft.VisualStudio.TestTools.Execution.TestCaseFailureType
TestCaseFailureType 値のいずれか。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。