Click or drag to resize

MappingException(String, String, String, String, Exception) Constructor

Initializes a new instance of the MappingException 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 MappingException(
	string message,
	string propertyName,
	string propertyValue,
	string targetTypeName,
	Exception innerException
)

Parameters

message  String
The error message that explains the reason for the exception.
propertyName  String
The name of the property which caused the exception
propertyValue  String
The String representation of the property value which caused the exception
targetTypeName  String
The TargetTypeName of the target entity
innerException  Exception
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
See Also