다음을 통해 공유


DataObjectChangeEvents Class

Definition

Provides a set of events which a DDEX provider can raise when changes to data objects are made, and provides the means by which a provider can connect to them.

public ref class DataObjectChangeEvents abstract
[System.Runtime.InteropServices.Guid("5619B0F3-93CD-4af1-8FFC-458B86B45778")]
public abstract class DataObjectChangeEvents
[<System.Runtime.InteropServices.Guid("5619B0F3-93CD-4af1-8FFC-458B86B45778")>]
type DataObjectChangeEvents = class
Public MustInherit Class DataObjectChangeEvents
Inheritance
DataObjectChangeEvents
Attributes

Constructors

DataObjectChangeEvents()

Class constructor. Instantiates a new instance of the DataObjectChangeEvents class.

Methods

EndEventGroup(Int32)

Terminates an event group that was initiated by calling the StartEventGroup(Int32) method.

OnEventGroupEnded(EventArgs)

Handler for the EventGroupEnded event.

OnEventGroupStarted(EventArgs)

Handler for the EventGroupStarted event.

OnObjectAdded(DataObjectChangedEventArgs)

Handler for the ObjectAdded event.

OnObjectChanged(DataObjectChangedEventArgs)

Handler for the ObjectChanged event.

OnObjectRemoved(DataObjectChangedEventArgs)

Handler for the ObjectRemoved event.

RaiseObjectAdded(Int32, String, Object[])

Raises the ObjectAdded event within a specific event group.

RaiseObjectAdded(String, Object[])

Raises a standalone ObjectAdded event, specifying the object type and identifier.

RaiseObjectChanged(Int32, String, Object[], Object[])

Raises an ObjectChanged event within a specific event group for an object whose identifier was modified during the change.

RaiseObjectChanged(Int32, String, Object[])

Raises the ObjectChanged event within a specified event group.

RaiseObjectChanged(String, Object[], Object[])

Raises a standalone ObjectChanged event for an object whose identifier was modified during the change.

RaiseObjectChanged(String, Object[])

Raises a standalone ObjectChanged event, specifying the type name and identifier.

RaiseObjectRemoved(Int32, String, Object[])

Raises the ObjectRemoved event within a specified event group.

RaiseObjectRemoved(String, Object[])

Raises a standalone ObjectRemoved event, specifying type name and object identifier.

RollbackEventGroup(Int32)

Ends an event group by removing the queued event set from the group.

StartEventGroup(Int32)

Starts a group of events initiated by a call to the StartEventGroup method.

Events

EventGroupEnded

Event raised when an event group has completed.

EventGroupStarted

Event raised when an event group has started.

ObjectAdded

Event raised when a data object has been added.

ObjectChanged

Event raised when a data object has been changed.

ObjectRemoved

Event raised when a data object has been removed.

Applies to