Bloomberg API for .NET
SetEventHandler Method (eventHandler, eventType)
NamespacesBloomberglp.BlpapiProviderSessionSetEventHandler(ProviderEventHandler, Event..::..EventType)
Sets event specific event handlers
Declaration Syntax
C#Visual BasicVisual C++
public void SetEventHandler(
	ProviderEventHandler eventHandler,
	Event..::..EventType eventType
)
Public Sub SetEventHandler ( 
	eventHandler As ProviderEventHandler,
	eventType As Event..::..EventType
)
public:
void SetEventHandler(
	ProviderEventHandler^ eventHandler, 
	Event..::..EventType eventType
)
Parameters
eventHandler (ProviderEventHandler)
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.7.4.1