All data resulting from subscriptions or requests and administrative
messages are delivered as Events.
Inheritance Hierarchy SystemObject
Bloomberglp.BlpapiEvent
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.19.2.1
Syntax public abstract class Event : IEnumerable<Message>,
IEnumerable
Public MustInherit Class Event
Implements IEnumerable(Of Message), IEnumerable
public ref class Event abstract : IEnumerable<Message^>,
IEnumerable
[<AbstractClassAttribute>]
type Event =
class
interface IEnumerable<Message>
interface IEnumerable
end
The Event type exposes the following members.
Constructors
| Name | Description |
---|
| Event | Initializes a new instance of the Event class |
TopProperties
| Name | Description |
---|
| IsValid |
Gets true if this event is valid; false otherwise.
|
| Type | Gets the type of the messages in this Event.
|
TopMethods
| Name | Description |
---|
| GetEnumerator | Return an enumerator over the messages contained in this event.
|
| GetMessages |
Creates an enumerable collection of all messages in this event.
|
TopExplicit Interface Implementations Remarks
Event objects are created by the API and passed to the application either
through a registered
EventHandler
or an
IEventQueue or
returned from the
Session.NextEvent()
method. Event objects contain
Message
objects which can be accessed using
Event.GetMessages(). The Event object is a handle to an event. The event
is the basic unit of work provided to applications. Each Event object
consists of an
Event.EventType
attribute and zero or more Message objects.
Thread Safety Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
See Also