Click or drag to resize

EventHeader Class

Contains core data about an event. Base class for RaceHeader and MatchHeader
Inheritance Hierarchy

Namespace: Sportradar.SDK.FeedProviders.LiveOdds.Common
Assembly: LiveOddsFeedProvider (in LiveOddsFeedProvider.dll) Version: 2.28.0.0
Syntax
C#
[SerializableAttribute]
public class EventHeader

The EventHeader type exposes the following members.

Constructors
 NameDescription
Public methodEventHeaderInitializes a new instance of the EventHeader class
Top
Properties
 NameDescription
Public propertyActive Set to false when a match is removed (in this case also see the Message for the reason for removal). Also set to false if the client has unregistered a match. The message element will include the text "unregistered" in such case.
Public propertyBetStatus Current bet status
Public propertyId Betradar id for the event
Public propertyMessage Optional textual message attached to the match (e.g. why a match has been removed, information that a client has unregistered from a match, etc.)
Public propertyMsgnr Incremental message id that starts with 1 for every match. Only messages that changes the state of a match will include this property. Alive messages, meta-information and login response messages will not include this incremental id.
Public propertyStatus Event status
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToString Returns a string that represents the current object.
(Overrides ObjectToString)
Top
See Also