CustomNotificationEventArgs 클래스

사용자 지정 진단 데이터 어댑터에 사용되는 이벤트 인수 클래스의 기본 클래스를 제공합니다.

상속 계층 구조

System.Object
  System.EventArgs
    Microsoft.VisualStudio.TestTools.Execution.DataCollectionEventArgs
      Microsoft.VisualStudio.TestTools.Execution.CustomNotificationEventArgs

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

구문

‘선언
<SerializableAttribute> _
Public MustInherit Class CustomNotificationEventArgs _
    Inherits DataCollectionEventArgs
[SerializableAttribute]
public abstract class CustomNotificationEventArgs : DataCollectionEventArgs
[SerializableAttribute]
public ref class CustomNotificationEventArgs abstract : public DataCollectionEventArgs
[<AbstractClass>]
[<SerializableAttribute>]
type CustomNotificationEventArgs =  
    class
        inherit DataCollectionEventArgs
    end
public abstract class CustomNotificationEventArgs extends DataCollectionEventArgs

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

생성자

  이름 설명
Protected 메서드 CustomNotificationEventArgs() 테스트 세션에 대한 사용자 지정 알림을 보내기 위한 CustomNotificationEventArgs 클래스의 새 인스턴스를 초기화합니다.
Protected 메서드 CustomNotificationEventArgs(TestExecId) 제공된 테스트 실행 ID를 사용하여 테스트 사례에 대한 사용자 지정 알림을 보내기 위한 CustomNotificationEventArgs 클래스의 새 인스턴스를 초기화합니다.

위쪽

속성

  이름 설명
Public 속성 Context 이벤트에 대한 컨텍스트 정보를 가져오거나 설정합니다. (DataCollectionEventArgs에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 Equals 지정한 Object가 현재 Object와 같은지 여부를 확인합니다. (Object에서 상속됨)
Protected 메서드 Finalize 가비지 수집에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 GetHashCode 특정 형식에 대한 해시 함수 역할을 합니다. (Object에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Protected 메서드 MemberwiseClone 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)

위쪽

스레드로부터의 안전성

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

참고 항목

참조

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

기타 리소스

진단 데이터 어댑터를 만들어 사용자 지정 데이터를 수집하거나 테스트 컴퓨터에 영향 주기