NetworkElementBase..::..RegisterEvent Method
Registers a new event with a callback action if it is not already registered.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public void RegisterEvent( int eventCode, Action<IDataStream> callBack )
Parameters
- eventCode
- Type: Int32
The unique code representing the event.
- callBack
- Type: Action<(Of <(<'IDataStream>)>)>
The callback action to be invoked when the event occurs.

