C-DEngine 5.105

TheThingRegistry..::..UnregisterEventOfDeviceType Method

Helper Function that allows to unregister a callback previously registered with RegisterEventOfDeviceType

Namespace:  nsCDEngine.Engines.ThingService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static void UnregisterEventOfDeviceType(
	string pEngineName,
	string pDeviceType,
	string pEventName,
	bool AllowRemoteThings,
	Action<ICDEThing, Object> pCallBack
)
Public Shared Sub UnregisterEventOfDeviceType ( _
	pEngineName As String, _
	pDeviceType As String, _
	pEventName As String, _
	AllowRemoteThings As Boolean, _
	pCallBack As Action(Of ICDEThing, Object) _
)
public:
static void UnregisterEventOfDeviceType(
	String^ pEngineName, 
	String^ pDeviceType, 
	String^ pEventName, 
	bool^ AllowRemoteThings, 
	Action<ICDEThing^, Object^>^ pCallBack
)

Parameters

pEngineName
Type: String
Engine of the Devices to look for
pDeviceType
Type: String
The Device type that will fire the event
pEventName
Type: String
The Event Name
AllowRemoteThings
Type: Boolean
Include Things on other Nodes
pCallBack
Type: Action<(Of <(<'ICDEThing, Object>)>)>
The callback to be called when the event fires