SessionSetEventHandler Method |
Set event specific event handlers
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.17.0.1
Syntax public void SetEventHandler(
EventHandler eventHandler,
EventEventType eventType
)
Public Sub SetEventHandler (
eventHandler As EventHandler,
eventType As EventEventType
)
public:
virtual void SetEventHandler(
EventHandler^ eventHandler,
EventEventType eventType
) sealed
abstract SetEventHandler :
eventHandler : EventHandler *
eventType : EventEventType -> unit
override SetEventHandler :
eventHandler : EventHandler *
eventType : EventEventType -> unit
Parameters
- eventHandler
- Type: Bloomberglp.BlpapiEventHandler
New event handler to replace default event handler provided at
construction
- eventType
- Type: Bloomberglp.BlpapiEventEventType
Type of events to be delivered to the new handler
Implements
ISessionSetEventHandler(EventHandler, EventEventType)Exceptions Exception | Condition |
---|
ArgumentException |
The specified 'eventHandler' is null.
|
See Also