다음을 통해 공유


TransactionEventArgs 클래스

트랜잭션 이벤트에 데이터를 제공합니다.

상속 계층 구조

System.Object
  System.EventArgs
    Microsoft.VisualStudio.Modeling.ModelingEventArgs
      Microsoft.VisualStudio.Modeling.GenericEventArgs
        Microsoft.VisualStudio.Modeling.TransactionEventArgs
          Microsoft.VisualStudio.Modeling.TransactionBeginningEventArgs
          Microsoft.VisualStudio.Modeling.TransactionCommitEventArgs
          Microsoft.VisualStudio.Modeling.TransactionRollbackEventArgs

네임스페이스:  Microsoft.VisualStudio.Modeling
어셈블리:  Microsoft.VisualStudio.Modeling.Sdk.12.0(Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

구문

‘선언
Public Class TransactionEventArgs _
    Inherits GenericEventArgs
public class TransactionEventArgs : GenericEventArgs

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

생성자

  이름 설명
Public 메서드 TransactionEventArgs 생성자

위쪽

속성

  이름 설명
Public 속성 ChangeSource 파생 클래스에서 재정의된 경우 이 변경의 소스를 가져오거나 설정합니다. (GenericEventArgs에서 상속됨)
Public 속성 DomainClass 이 알림과 관련된 도메인 클래스를 가져옵니다. (GenericEventArgs.DomainClass을(를) 재정의함)
Public 속성 DomainModel 이 알림과 관련된 도메인 모델을 가져옵니다. (GenericEventArgs.DomainModel을(를) 재정의함)
Public 속성 ElementId 이 알림과 관련된 요소의 ID를 가져옵니다. (GenericEventArgs.ElementId을(를) 재정의함)
Public 속성 Transaction 알림이 만들어지고 있는 트랜잭션입니다.
Public 속성 TransactionContext 이벤트와 연결된 TransactionContext를 가져옵니다.이벤트에 사용할 수 있는 트랜잭션 컨텍스트가 없는 경우 null 일 수 있습니다. (ModelingEventArgs에서 상속됨)

위쪽

메서드

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

위쪽

설명

이 클래스는 트랜잭션 이벤트 인수 클래스의 기본 클래스입니다.

스레드로부터의 안전성

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

참고 항목

참조

Microsoft.VisualStudio.Modeling 네임스페이스