Export (0) Print
Expand All

AddonDataHandler Class

An abstract base class from which all implementations for data modules must derive.

System.Object
  Microsoft.Office.Visio.Server.AddonDataHandler

Namespace:  Microsoft.Office.Visio.Server
Assembly:  Microsoft.Office.Visio.Server (in Microsoft.Office.Visio.Server.dll)

[CLSCompliantAttribute(true)]
public abstract class AddonDataHandler

Data modules are adapters used by the data extensibility mechanism to query data sources for which the server does not have built-in support. A data module is represented by a public class that derives from AddonDataHandler and implements its abstract methods: BeginGetData(HttpContext, AsyncCallback, Object), EndGetData(IAsyncResult), and Cancel(). A data module class is dynamically loaded, instantiated, and used to query the corresponding data source. This only works if the data module is correctly deployed and registered with the server.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft