com.onlineobject.objectnet Namespace

NetworkEventsCore..::..ExecuteEvent Method

Executes the event associated with the given event code.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public void ExecuteEvent(

	int eventCode,

	IDataStream reader

)

Parameters

eventCode
Type: Int32
The event code to trigger.
reader
Type: com.onlineobject.objectnet..::..IDataStream
The data stream to be passed to the event's callback.

Exceptions


ExceptionCondition
ExceptionThrown when the event is not registered.