DataCollectorNotifications.RaiseTestFailedEvent Yöntem

Tanım

TestCaseFailedTest çalışmasının başarısız olduğu tanılama veri bağdaştırıcılarını bilgilendirmek için bir olay oluşturur.

public:
 abstract void RaiseTestFailedEvent(Microsoft::VisualStudio::TestTools::Common::ITestElement ^ testCase, Microsoft::VisualStudio::TestTools::Execution::TestCaseFailureType failureType);
public abstract void RaiseTestFailedEvent (Microsoft.VisualStudio.TestTools.Common.ITestElement testCase, Microsoft.VisualStudio.TestTools.Execution.TestCaseFailureType failureType);
abstract member RaiseTestFailedEvent : Microsoft.VisualStudio.TestTools.Common.ITestElement * Microsoft.VisualStudio.TestTools.Execution.TestCaseFailureType -> unit
Public MustOverride Sub RaiseTestFailedEvent (testCase As ITestElement, failureType As TestCaseFailureType)

Parametreler

testCase
ITestElement

ITestElementGeçerli test çalışmasını temsil eden nesne.

failureType
TestCaseFailureType

TestCaseFailureTypeDeğerlerden biri.

Şunlara uygulanır