ProviderSessionSetEventHandler Method |
Sets event specific event handlers
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax public void SetEventHandler(
ProviderEventHandler eventHandler,
EventEventType eventType
)
Public Sub SetEventHandler (
eventHandler As ProviderEventHandler,
eventType As EventEventType
)
public:
virtual void SetEventHandler(
ProviderEventHandler^ eventHandler,
EventEventType eventType
) sealed
abstract SetEventHandler :
eventHandler : ProviderEventHandler *
eventType : EventEventType -> unit
override SetEventHandler :
eventHandler : ProviderEventHandler *
eventType : EventEventType -> unit
Parameters
- eventHandler
- Type: Bloomberglp.BlpapiProviderEventHandler
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
IProviderSessionSetEventHandler(ProviderEventHandler, EventEventType)Exceptions Exception | Condition |
---|
ArgumentException |
The specified 'eventHandler' is null.
|
See Also