Compartilhar via


AddonDataHandler Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
Public MustInherit Class AddonDataHandler
'Usage
Dim instance As AddonDataHandler
[CLSCompliantAttribute(true)]
public abstract class AddonDataHandler

Remarks

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.

Thread Safety

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

See Also

Reference

AddonDataHandler Members

Microsoft.Office.Visio.Server Namespace