DesignerTransactionCloseEventArgs Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides data for the TransactionClosed and TransactionClosing events.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

System.Object
  System.EventArgs
    System.ComponentModel.Design.DesignerTransactionCloseEventArgs

[<ComVisibleAttribute(true)>]
[<HostProtectionAttribute(SecurityAction.LinkDemand, SharedState = true)>]
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
[<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")>]
type DesignerTransactionCloseEventArgs = 
    class
        inherit EventArgs
    end

NameDescription
System_CAPS_pubmethodDesignerTransactionCloseEventArgs(Boolean)

Obsolete. Initializes a new instance of the DesignerTransactionCloseEventArgs class, using the specified value that indicates whether the designer called Commit on the transaction.

System_CAPS_pubmethodDesignerTransactionCloseEventArgs(Boolean, Boolean)

Initializes a new instance of the DesignerTransactionCloseEventArgs class.

NameDescription
System_CAPS_pubpropertyLastTransaction

Gets a value indicating whether this is the last transaction to close.

System_CAPS_pubpropertyTransactionCommitted

Indicates whether the designer called Commit on the transaction.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

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.

No code example is currently available or this language may not be supported.

NamedPermissionSet

for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:

.NET Framework
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.

Return to top
Show: