PluginData Members (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.

The following tables list the members exposed by the PluginData type.

Protected Constructors

  Name Description
PluginData Constructs this object.

Top

Public Properties

(see also Protected Properties )

  Name Description
Bb522027.pubproperty(en-US,WinEmbedded.60).gif DataNotApplicable Indicates if the data is not applicable for the current device. If TRUE, the Remote Tools Framework will automatically display a view stating that the data is not applicable for the device.
Bb522027.pubproperty(en-US,WinEmbedded.60).gif Exception The exception thrown
Bb522027.pubproperty(en-US,WinEmbedded.60).gif ExceptionOccured Set to TRUE if the framework caught an exception in the plug-in code. This must be set via property.
Bb522027.pubproperty(en-US,WinEmbedded.60).gif Guid The GUID specified in the constructor for this object. It should match the GUID of one of the nodes this data object is associated with.
Bb522027.pubproperty(en-US,WinEmbedded.60).gif Host The T:Microsoft.RemoteToolSdk.PluginComponents.PluginComponent that owns this data object. Set in the object constructor.
Bb522027.pubproperty(en-US,WinEmbedded.60).gif InGetData Set to true while the data object is comminicating with the device in a call to GetData. If your code calls GetData from a secondary thread while GetData is executing, the call to GetData will fail. You can use this property to wait for the other GetData calls to succeed.
Bb522027.pubproperty(en-US,WinEmbedded.60).gif InitDataAtViewTime Set to true to indicate the data should be loaded when the Plugin is created. Set to false to indicate the data should be loaded when the user clicks on a node for the first time that is associated with this data.
Bb522027.pubproperty(en-US,WinEmbedded.60).gif Initialized Indicates if the data is valid and ready for rendering. Once set to TRUE, any views associated with this data object will refresh.

Top

Protected Properties

  Name Description
Bb522027.protproperty(en-US,WinEmbedded.60).gif CommandTransport Identifies the P:Microsoft.RemoteToolSdk.PluginComponents.PluginData.CommandTransport between the desktop and the device for this data object. This transport is automatically created by the Remote Tools Framework.
Bb522027.protproperty(en-US,WinEmbedded.60).gif InvokeRequired Returns TRUE if the caller of this property is not running on the primary UI thread. If this property returns TRUE and your code needs to run on the Primary UI thread, use the RunOnPrimaryThread method.

Top

Public Methods

(see also Protected Methods )

  Name Description
Bb522027.pubmethod(en-US,WinEmbedded.60).gif CopyToClipboard Copies data from this object to the clipboard.
Bb522027.pubmethod(en-US,WinEmbedded.60).gif Equals  Overloaded. (inherited from Object )
Bb522027.pubmethod(en-US,WinEmbedded.60).gif GetData Call this function to get data from the device. The OnGetData method of the data object is called in response to this function call.
Bb522027.pubmethod(en-US,WinEmbedded.60).gif GetHashCode  (inherited from Object )
Bb522027.pubmethod(en-US,WinEmbedded.60).gif GetType  (inherited from Object )
Bb522027.pubmethod(en-US,WinEmbedded.60).gifBb522027.static(en-US,WinEmbedded.60).gif ReferenceEquals  (inherited from Object )
Bb522027.pubmethod(en-US,WinEmbedded.60).gif RenderGeneric Call this method to request that this object enumerates its data to a Generic Data Acceptor.
Bb522027.pubmethod(en-US,WinEmbedded.60).gif RenderViews Forces all views associated with this data object to refresh.
Bb522027.pubmethod(en-US,WinEmbedded.60).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
Bb522027.protmethod(en-US,WinEmbedded.60).gif Finalize  (inherited from Object )
Bb522027.protmethod(en-US,WinEmbedded.60).gif MemberwiseClone  (inherited from Object )
Bb522027.protmethod(en-US,WinEmbedded.60).gif OnAddVirtualDataItem Overloaded.  
Bb522027.protmethod(en-US,WinEmbedded.60).gif OnCopyToClipboard Override this method if you wish to implement a custom clipboard copy.
Bb522027.protmethod(en-US,WinEmbedded.60).gif OnGetData Override this method to implement the code that calls the device side application and retrieves data.
Bb522027.protmethod(en-US,WinEmbedded.60).gif OnLeftClick Override this function if your plug-in wishes to react to the user left-clicking on a node in the treeview control.
Bb522027.protmethod(en-US,WinEmbedded.60).gif OnRenderGeneric Required: This method must enumerate all of the data object's data, and send the data to the supplied T:Microsoft.RemoteToolSdk.PluginComponents.GenericDataAcceptor object. The Remote Tools Framework will call this function for serialization (saving), default clipboard copy, and for filling the built-in Generic View.
Bb522027.protmethod(en-US,WinEmbedded.60).gif OnRightClick Override this function if your plug-in wishes to react to the user right-clicking on a node in the treeview control differently than the default action ("Copy to Clipboard").
Bb522027.protmethod(en-US,WinEmbedded.60).gif RunOnPrimaryThread Invokes the code defined by the delegate on the primary UI thread. If the current thread already is the Primary UI Thread, then the code will be run without calling Invoke.

Top

See Also

Reference

PluginData Class
Microsoft.RemoteToolSdk.PluginComponents Namespace