DesignerTransactionCloseEventArgs Class
Provides data for the TransactionClosed and TransactionClosing events.
Assembly: System (in System.dll)
[ComVisibleAttribute(true)] [HostProtectionAttribute(SecurityAction::LinkDemand, SharedState = true)] [PermissionSetAttribute(SecurityAction::LinkDemand, Name = "FullTrust")] [PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = "FullTrust")] public ref class DesignerTransactionCloseEventArgs : EventArgs
| Name | Description | |
|---|---|---|
![]() | DesignerTransactionCloseEventArgs(Boolean) | Obsolete. 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) | Initializes a new instance of the DesignerTransactionCloseEventArgs class. |
| Name | Description | |
|---|---|---|
![]() | LastTransaction | Gets a value indicating whether this is the last transaction to close. |
![]() | TransactionCommitted | Indicates whether the designer called Commit on the transaction. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The TransactionClosed event occurs when a designer finalizes a transaction.
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; }
for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


