Click or drag to resize

RaceHeader Class

Contains core data about a race
Inheritance Hierarchy
SystemObject
  Sportradar.SDK.FeedProviders.LiveOdds.CommonEventHeader
    Sportradar.SDK.FeedProviders.LiveOdds.RaceLiveOdds.CommonRaceHeader

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

The RaceHeader type exposes the following members.

Constructors
 NameDescription
Public methodRaceHeaderInitializes a new instance of the RaceHeader 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.
(Inherited from EventHeader)
Public propertyBetStatus Current bet status
(Inherited from EventHeader)
Public propertyBooked The meta-message includes matches that are booked or included in the package that is purchased. By adding specifying includeavailable="true" in the meta request, or activating it through XML configuration ‘Include non booked matches in meta’, the meta response will also include matches that are available for booking but not booked yet. The match element in the meta-response will then also include this property specifying whether the match is already booked (true), or not booked yet (false).
Public propertyId Betradar id for the event
(Inherited from EventHeader)
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.)
(Inherited from EventHeader)
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.
(Inherited from EventHeader)
Public propertyParentId Parent id
Public propertyStatus Event status
(Inherited from EventHeader)
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 EventHeaderToString)
Top
See Also