ThingWorx Edge .NET SDK Reference > .NET SDK: VirtualThing Class > .NET SDK VirtualThing Class: Overrides
.NET SDK VirtualThing Class: Overrides
The methods described below can be overridden in classes derived from the VirtualThing class, but are not required:
afterBinding — Called after the binding of the Virtual Thing is complete.
afterDisable — Called after the Virtual Thing has been disabled.
afterEnable — Called after the virtual Thing has been enabled.
afterUnbinding — Called after the unbinding of the Virtual Thing is complete.
processScanRequest — Called for every scan request. Usually this method is called by the code that is processing the Virtual Thing. Refer to the Steam Sensor Example for an example of its use.
synchronizedState — Called when the ThingWorx Platform informs the Virtual Thing that it requests its properties. This method is useful when first connecting to a platform to send the initial data (if it does not change regularly) or when a reconnect occurs.
Was this helpful?