Sportradar.MTS.SDK.API Namespace
Sportradar.MTS.SDK.Common.Exceptions Namespace
Sportradar.MTS.SDK.Entities.Builders Namespace
Sportradar.MTS.SDK.Entities.EventArguments Namespace
Sportradar.MTS.SDK.Entities.Interfaces Namespace
Sportradar.MTS.SDK.Entities.Internal.REST Namespace
Sportradar MTS SDK .NET Standard 2.1, v2.3.3

MessagePublishFailedEventArgs Constructor

Initializes a new instance of the MessagePublishFailedEventArgs class

Namespace:  Sportradar.MTS.SDK.Entities.EventArguments
Assembly:  Sportradar.MTS.SDK (in Sportradar.MTS.SDK.dll)

Syntax


public MessagePublishFailedEventArgs(
	IEnumerable<byte> rawData,
	string correlationId,
	string routingKey,
	string message
)

Parameters

rawData
Type: IEnumerable<(Of <(<'Byte>)>)>
the name of the message which could not be deserialized, or a null reference if message name could not be retrieved
correlationId
Type: String
The correlation id
routingKey
Type: String
The routing key to which data should be send
message
Type: String
The description of the error