PluginData Class (Windows Embedded CE 6.0)

1/5/2010

This is the base class that all plug-in data objects must be derived from if the Remote Tools Framework is going to interface with the object.

Namespace: Microsoft.RemoteToolSdk.PluginComponents
Assembly: Microsoft.RemoteToolSdk (in microsoft.remotetoolsdk.dll)

Syntax

public abstract class PluginData
'Declaration
Public MustInherit Class PluginData

Remarks

Your implementation of the data object must provide the following:

  • Render all stored data to a GenericDataAcceptor via M:Microsoft.RemoteToolSdk.PluginComponents.PluginData.OnRenderGeneric(Microsoft.RemoteToolSdk.PluginComponents.GenericDataAcceptor).

  • Retrieve data from the device and store it in a data structure via M:Microsoft.RemoteToolSdk.PluginComponents.PluginData.OnGetData.

  • Accepts virtual data (from disk) from the Remote Tools Framework and store it in a data structure via OnAddVirtualDataItem.

Typically, a PluginData object maps to a node in the TreeView control in the Shell, but this is not required. PluginData objects are usually created in the M:Microsoft.RemoteToolSdk.PluginComponents.PluginComponent.OnInit method.

It is possible that method calls on this object will occur on a thread that is not the primary thread. If your code has threading issues (such as communicating with Windows Forms Controls) then be sure to check the InvokeRequired property

Inheritance Hierarchy

System.Object
  Microsoft.RemoteToolSdk.PluginComponents.PluginData

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

PluginData Members
Microsoft.RemoteToolSdk.PluginComponents Namespace