DesignerTransactionCloseEventArgs 클래스

정의

TransactionClosedTransactionClosing 이벤트에 대한 데이터를 제공합니다.

public ref class DesignerTransactionCloseEventArgs : EventArgs
public class DesignerTransactionCloseEventArgs : EventArgs
[System.Runtime.InteropServices.ComVisible(true)]
public class DesignerTransactionCloseEventArgs : EventArgs
type DesignerTransactionCloseEventArgs = class
    inherit EventArgs
[<System.Runtime.InteropServices.ComVisible(true)>]
type DesignerTransactionCloseEventArgs = class
    inherit EventArgs
Public Class DesignerTransactionCloseEventArgs
Inherits EventArgs
상속
DesignerTransactionCloseEventArgs
특성

예제

다음 코드 예제에서는 만드는 방법을 보여 줍니다.DesignerTransactionCloseEventArgs

public:
   // This example method creates a DesignerTransactionCloseEventArgs using the specified argument.
   // Typically, this type of event args is created by a design mode subsystem.
   DesignerTransactionCloseEventArgs^ CreateDesignerTransactionCloseEventArgs( bool commit )
   {
      // Creates a component changed event args with the specified arguments.
      DesignerTransactionCloseEventArgs^ args = gcnew DesignerTransactionCloseEventArgs( commit );

      // Whether the transaction has been committed:  args.TransactionCommitted

      return args;
   }
// This example method creates a DesignerTransactionCloseEventArgs using the specified argument.
// Typically, this type of event args is created by a design mode subsystem.            
public DesignerTransactionCloseEventArgs CreateDesignerTransactionCloseEventArgs(bool commit)
{            
    // Creates a component changed event args with the specified arguments.
    DesignerTransactionCloseEventArgs args = new DesignerTransactionCloseEventArgs(commit, false);

    // Whether the transaction has been committed:  args.TransactionCommitted
    
    return args;            
}
' This example method creates a DesignerTransactionCloseEventArgs using the specified argument.
' Typically, this type of event args is created by a design mode subsystem.            
Public Function CreateDesignerTransactionCloseEventArgs(ByVal commit As Boolean) As DesignerTransactionCloseEventArgs

    ' Creates a component changed event args with the specified arguments.
    Dim args As New DesignerTransactionCloseEventArgs(commit, False)

    ' Whether the transaction has been committed:  args.TransactionCommitted

    Return args
End Function

설명

TransactionClosed 이벤트는 디자이너가 트랜잭션을 완료할 때 발생합니다.

생성자

DesignerTransactionCloseEventArgs(Boolean)
사용되지 않음.
사용되지 않음.
사용되지 않음.

디자이너가 트랜잭션에서 DesignerTransactionCloseEventArgs을 호출할지 여부를 나타내는 지정된 값을 사용하여 Commit() 클래스의 새 인스턴스를 초기화합니다.

DesignerTransactionCloseEventArgs(Boolean, Boolean)

DesignerTransactionCloseEventArgs 클래스의 새 인스턴스를 초기화합니다.

속성

LastTransaction

이 트랜잭션이 닫을 마지막 트랜잭션인지 여부를 나타내는 값을 가져옵니다.

TransactionCommitted

디자이너가 트랜잭션에서 Commit()을 호출할지 여부를 나타냅니다.

메서드

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상

추가 정보