Edit

Share via


TransactedChangeCallback Delegate

Definition

A delegate that refers to a method in a custom DesignerActionList object that is to be called by the InvokeTransactedChange method for implementing property changes in the designer's associated control.

C#
public delegate bool TransactedChangeCallback(object context);

Parameters

context
Object

The method to call when the transaction is invoked.

Return Value

true if the transaction completed successfully; false if the transaction should be rolled back.

Examples

For a code example, see InvokeTransactedChange.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

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

See also