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
messageTypeMessageTypeThe MessageType member specifying the type of the unparsable message.
producerstringThe string representation of the producer associated with the unparsable message.
eventIdstringThe string representation of the sport event id associated with the unparsable message.
rawMessagebyte[]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
MessageType
Gets the MessageType member specifying the type of the unparsable message
public MessageType MessageType { get; }
Property Value
Producer
Gets the string representation of the producer associated with the unparsable message
public string Producer { get; }
Property Value
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