C-DEngine 5.105

cdeP..::..RegisterEvent Method

Register a callback that will be fired on a Property Event

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

Syntax


public void RegisterEvent(
	string pEventName,
	Action<cdeP> pCallback
)
Public Sub RegisterEvent ( _
	pEventName As String, _
	pCallback As Action(Of cdeP) _
)
public:
void RegisterEvent(
	String^ pEventName, 
	Action<cdeP^>^ pCallback
)

Parameters

pEventName
Type: String
Using eThingEvents.XXX to register a callback
pCallback
Type: Action<(Of <(<'cdeP>)>)>
A Callback that will be called when the eThingEvents.XXX fires