DesignerTransactionCloseEventArgs 클래스

정의

TransactionClosedTransactionClosing 이벤트에 대한 데이터를 제공합니다.Provides data for the TransactionClosed and TransactionClosing events.

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

예제

다음 코드 예제에서는 DesignerTransactionCloseEventArgs을 만드는 방법을 보여 줍니다.The following code example demonstrates creating a 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 이벤트는 디자이너가 트랜잭션을 종료 하는 경우에 발생 합니다.The TransactionClosed event occurs when a designer finalizes a transaction.

생성자

DesignerTransactionCloseEventArgs(Boolean)

디자이너가 트랜잭션에서 DesignerTransactionCloseEventArgs을 호출할지 여부를 나타내는 지정된 값을 사용하여 Commit() 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the DesignerTransactionCloseEventArgs class, using the specified value that indicates whether the designer called Commit() on the transaction.

DesignerTransactionCloseEventArgs(Boolean, Boolean)

DesignerTransactionCloseEventArgs 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the DesignerTransactionCloseEventArgs class.

속성

LastTransaction

이 트랜잭션이 닫을 마지막 트랜잭션인지 여부를 나타내는 값을 가져옵니다.Gets a value indicating whether this is the last transaction to close.

TransactionCommitted

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

메서드

Equals(Object)

지정한 개체와 현재 개체가 같은지 여부를 확인합니다.Determines whether the specified object is equal to the current object.

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

기본 해시 함수로 작동합니다.Serves as the default hash function.

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

현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance.

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

현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object.

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

현재 개체를 나타내는 문자열을 반환합니다.Returns a string that represents the current object.

(다음에서 상속됨 Object)

보안

NamedPermissionSet
시스템 리소스에 대 한 전체 액세스 합니다.for full access to system resources. 요청 값: LinkDemand, InheritanceDemand합니다.Demand values: LinkDemand, InheritanceDemand. 연결 된 상태:Associated state:

적용 대상

추가 정보