Click or drag to resize

DeserializationException(String, String, String, Exception) Constructor

Initializes a new instance of the DeserializationException class.

Namespace: Sportradar.OddsFeed.SDK.Common.Exceptions
Assembly: Sportradar.OddsFeed.SDK.Common (in Sportradar.OddsFeed.SDK.Common.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax
C#
public DeserializationException(
	string message,
	string xml,
	string rootElementName,
	Exception innerException
)

Parameters

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