다음을 통해 공유


TestCaseFailedEventArgs 클래스

TestCaseFailed 이벤트에 제공된 이벤트 인수를 나타냅니다.

상속 계층 구조

Object
  EventArgs
    Microsoft.VisualStudio.TestTools.Execution.DataCollectionEventArgs
      Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs
        Microsoft.VisualStudio.TestTools.Execution.TestCaseFailedEventArgs

네임스페이스:  Microsoft.VisualStudio.TestTools.Execution
어셈블리:  Microsoft.VisualStudio.QualityTools.ExecutionCommon(Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

구문

‘선언
<SerializableAttribute> _
Public NotInheritable Class TestCaseFailedEventArgs _
    Inherits TestCaseEventArgs
[SerializableAttribute]
public sealed class TestCaseFailedEventArgs : TestCaseEventArgs
[SerializableAttribute]
public ref class TestCaseFailedEventArgs sealed : public TestCaseEventArgs
[<Sealed>]
[<SerializableAttribute>]
type TestCaseFailedEventArgs =  
    class 
        inherit TestCaseEventArgs 
    end
public final class TestCaseFailedEventArgs extends TestCaseEventArgs

TestCaseFailedEventArgs 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Public 메서드 TestCaseFailedEventArgs 제공된 매개 변수 값을 사용하여 TestCaseFailedEventArgs 클래스의 새 인스턴스를 초기화합니다.

위쪽

속성

  이름 설명
Public 속성 Context 이벤트에 대한 컨텍스트 정보를 가져오거나 설정합니다. (DataCollectionEventArgs에서 상속됨)
Public 속성 FailureType 오류가 발생한 경우 해당 오류에 대한 형식을 가져오거나 설정합니다.
Public 속성 IsChildTestCase 테스트 사례가 다른 테스트 사례의 자식인지 여부를 나타내는 값을 가져오거나 설정합니다. (TestCaseEventArgs에서 상속됨)
Public 속성 TargetDataCollectorUri (DataCollectionEventArgs에서 상속됨)
Public 속성 TcmInformation 테스트 사례에 대한 추가적인 정보를 테스트 관리자 서버에서 가져오는 데 사용할 수 있는 정보가 포함된 개체를 가져옵니다. (TestCaseEventArgs에서 상속됨)
Public 속성 TestCaseId 테스트 사례 식별자를 가져오거나 설정합니다. (TestCaseEventArgs에서 상속됨)
Public 속성 TestCaseName 테스트 사례 이름을 가져오거나 설정합니다. (TestCaseEventArgs에서 상속됨)
Public 속성 TestElement 현재 테스트를 가져옵니다. (TestCaseEventArgs에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 Equals 지정한 개체와 현재 개체가 같은지를 확인합니다. (Object에서 상속됨)
Public 메서드 GetHashCode 기본 해시 함수로 작동합니다. (Object에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)

위쪽

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.VisualStudio.TestTools.Execution 네임스페이스

TestCaseFailed