com.onlineobject.objectnet Namespace

NetworkElementBase..::..InvokeEvent Method

Invokes the callback associated with the specified event code.

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

Syntax


public void InvokeEvent(

	int eventCode,

	IDataStream reader

)

Parameters

eventCode
Type: Int32
The event code of the event to invoke.
reader
Type: com.onlineobject.objectnet..::..IDataStream
The data stream to pass to the event's callback.

Exceptions


ExceptionCondition
ExceptionThrown when the event is not registered.