Bloomberg API for .NET
SetEventHandler Method (eventHandler, eventType)
NamespacesBloomberglp.BlpapiSessionSetEventHandler(EventHandler, Event..::..EventType)
Set event specific event handlers
Declaration Syntax
C#Visual BasicVisual C++
public void SetEventHandler(
	EventHandler eventHandler,
	Event..::..EventType eventType
)
Public Sub SetEventHandler ( 
	eventHandler As EventHandler,
	eventType As Event..::..EventType
)
public:
void SetEventHandler(
	EventHandler^ eventHandler, 
	Event..::..EventType eventType
)
Parameters
eventHandler (EventHandler)
New event handler to replace default event handler provided at construction
eventType (Event..::..EventType)
Type of events to be delivered to the new handler
Exceptions
ExceptionCondition
ArgumentException The specified 'eventHandler' is null.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.8.10.1