Event arguments, Exceptions, Event arguments exceptions – Pitney Bowes MapXtreme User Manual

Page 206

Advertising
background image

Chapter 9: Working with Core MapXtreme Classes

Event Arguments

MapXtreme v7.1

213

Developer Guide

Event Arguments

The MapInfo.Engine namespace contains various event argument classes that provide data for
events. Refer to the online help for more information. Some of the event argument classes include:

CollectionCancelableEventArgs – Provides data for a collection event that can be cancelled.

CollectionEventArgs – Provides data for a collection event.

NodeSelectionChangedEventArgs – Fires these event arguments when the node selection
changes.

SelectionChangedEventArgs – Other objects can attach delegates to this event to get notified
when a selection changes.

Exceptions

The Engine namespace contains various exception classes. Refer to the online help for more
information. Some of the exception classes include:

ResourceNotFoundException – Throws this type of exception when the requested object is not
found in the Resource table.

ResourceTypeMismatchException – The exception that is thrown when the object read from
Resources was not of the expected type.

TimeoutException – The exception is thrown on Current timeout while waiting for a pooled
ISession to become available.

Advertising