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

DeserializationException Constructor (String, String, String, Exception)

Initializes a new instance of the DeserializationException class

Namespace:  Sportradar.MTS.SDK.Common.Exceptions
Assembly:  Sportradar.MTS.SDK (in Sportradar.MTS.SDK.dll)

Syntax


public DeserializationException(
	string message,
	string xml,
	string rootElementName,
	Exception innerException
)

Parameters

message
Type: String
The error message that explains the reason for the exception
xml
Type: String
The data which could not be deserialized
rootElementName
Type: String
The name of the root xml element associated with the exception or a null reference if element name could not be determined
innerException
Type: Exception
The exception that is the cause of the current exception, or a null reference if no inner exception is specified