com.esri.arcgis.geodatabase
Interface IVersionEvents2

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
IVersionEvents2Adapter, IVersionEvents2Proxy

public interface IVersionEvents2
extends EventListener, Serializable

Provides access to events that occur on a version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void onArchiveUpdated(IVersionEvents2OnArchiveUpdatedEvent theEvent)
          This event is fired after the historical archive has been updated with changes saved or posted to the DEFAULT version.
 void onBeginReconcile(IVersionEvents2OnBeginReconcileEvent theEvent)
          This event is fired before a version is reconciled.
 void onDeleteVersion(IVersionEvents2OnDeleteVersionEvent theEvent)
          This event is fired before a version is deleted.
 void onPost(IVersionEvents2OnPostEvent theEvent)
          This event is fired after a version is posted.
 

Method Detail

onArchiveUpdated

void onArchiveUpdated(IVersionEvents2OnArchiveUpdatedEvent theEvent)
                      throws IOException,
                             AutomationException
This event is fired after the historical archive has been updated with changes saved or posted to the DEFAULT version.

Remarks

This event is fired when an archiving operation is done on the workspace. It can be used by application developers to modify archive tables every time an archiving operation has been initiated on a workspace.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onBeginReconcile

void onBeginReconcile(IVersionEvents2OnBeginReconcileEvent theEvent)
                      throws IOException,
                             AutomationException
This event is fired before a version is reconciled.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onPost

void onPost(IVersionEvents2OnPostEvent theEvent)
            throws IOException,
                   AutomationException
This event is fired after a version is posted.

Remarks

This event is fired after a version is posted. It can be used by application developers to initiate custom code every time a version is posted. Since the event fires after a post is completed it can not be used to determine differences between versions.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onDeleteVersion

void onDeleteVersion(IVersionEvents2OnDeleteVersionEvent theEvent)
                     throws IOException,
                            AutomationException
This event is fired before a version is deleted.

Remarks

This event is fired prior to a version being deleted. It can be used by application developers to add custom behavior prior to the deletion of a version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.