Upraviť

Zdieľať cez


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.

public delegate bool TransactedChangeCallback(System::Object ^ context);
public delegate bool TransactedChangeCallback(object context);
type TransactedChangeCallback = delegate of obj -> bool
Public Delegate Function TransactedChangeCallback(context As Object) As Boolean 

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

See also