DesignerTransactionCloseEventArgs 클래스
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
TransactionClosed 및 TransactionClosing 이벤트에 대한 데이터를 제공합니다.
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
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 이벤트는 디자이너가 트랜잭션을 완료할 때 발생합니다.
Designer |
사용되지 않음.
사용되지 않음.
사용되지 않음.
디자이너가 트랜잭션에서 DesignerTransactionCloseEventArgs을 호출할지 여부를 나타내는 지정된 값을 사용하여 Commit() 클래스의 새 인스턴스를 초기화합니다. |
Designer |
DesignerTransactionCloseEventArgs 클래스의 새 인스턴스를 초기화합니다. |
Last |
이 트랜잭션이 닫을 마지막 트랜잭션인지 여부를 나타내는 값을 가져옵니다. |
Transaction |
디자이너가 트랜잭션에서 Commit()을 호출할지 여부를 나타냅니다. |
Equals(Object) |
지정된 개체가 현재 개체와 같은지 확인합니다. (다음에서 상속됨 Object) |
Get |
기본 해시 함수로 작동합니다. (다음에서 상속됨 Object) |
Get |
현재 인스턴스의 Type을 가져옵니다. (다음에서 상속됨 Object) |
Memberwise |
현재 Object의 단순 복사본을 만듭니다. (다음에서 상속됨 Object) |
To |
현재 개체를 나타내는 문자열을 반환합니다. (다음에서 상속됨 Object) |
제품 | 버전 |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.