Export (0) Print
Expand All

DesignerTransaction Members

DesignerTransaction overview

Public Constructors

public constructorDesignerTransaction Constructor Overloaded. Initializes a new instance of the DesignerTransaction class.

Public Properties

public propertyCanceled Gets a value indicating whether the transaction was canceled.
public propertyCommitted Gets a value indicating whether the transaction was committed.
public propertyDescription Gets a description for the transaction.

Public Methods

public methodCancel Cancels the transaction and attempts to roll back the changes made by the events of the transaction.
public methodCommit Commits this transaction.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodDispose Releases the unmanaged resources used by the DesignerTransaction and optionally releases the managed resources.
protected methodFinalize Overridden. Releases the resources associated with this object. This override commits this transaction if it was not already committed.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnCancel Raises the Cancel event.
protected methodOnCommit Raises the Commit event.

See Also

DesignerTransaction Class | System.ComponentModel.Design Namespace

Show:
© 2015 Microsoft