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

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

Initializes a new instance of the MappingException class

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

Syntax


public MappingException(
	string message,
	string propertyName,
	string propertyValue,
	string targetTypeName,
	Exception innerException
)

Parameters

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