Table of Contents

Class UnparsableMessageEventArgs

Namespace
Sportradar.OddsFeed.SDK.Api.EventArguments
Assembly
Sportradar.OddsFeed.SDK.dll

Event arguments of OnUnparsableMessageReceived event

public class UnparsableMessageEventArgs : EventArgs
Inheritance
UnparsableMessageEventArgs
Inherited Members

Constructors

UnparsableMessageEventArgs(MessageType, string, string, byte[])

Initializes a new instance of the UnparsableMessageEventArgs class

public UnparsableMessageEventArgs(MessageType messageType, string producer, string eventId, byte[] rawMessage)

Parameters

messageType MessageType

The MessageType member specifying the type of the unparsable message.

producer string

The string representation of the producer associated with the unparsable message.

eventId string

The string representation of the sport event id associated with the unparsable message.

rawMessage byte[]

A raw message received from the feed

Properties

EventId

Gets the string representation of the sport event id associated with the unparsable message

public string EventId { get; }

Property Value

string

MessageType

Gets the MessageType member specifying the type of the unparsable message

public MessageType MessageType { get; }

Property Value

MessageType

Producer

Gets the string representation of the producer associated with the unparsable message

public string Producer { get; }

Property Value

string

Methods

GetRawMessage()

Gets the raw XML message received from the feed

public string GetRawMessage()

Returns

string

Returns the raw XML message received from the feed