Click or drag to resize

NameGenerationException(String, Int32, IReadOnlyDictionaryString, String, String, String, CultureInfo, Exception) Constructor

Initializes a new instance of the NameGenerationException 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 NameGenerationException(
	string message,
	int marketId,
	IReadOnlyDictionary<string, string> marketSpecifiers,
	string outcomeId,
	string nameDescriptor,
	CultureInfo culture,
	Exception innerException
)

Parameters

message  String
The error message that explains the reason for the exception.
marketId  Int32
The id of the market associated with name generation that caused the exception
marketSpecifiers  IReadOnlyDictionaryString, String
The specifiers of the market associated with name generation that caused the exception
outcomeId  String
The id of the outcome whose name generation caused the exception, or a null reference if the name generation was invoked on market
nameDescriptor  String
The name descriptor used when generating the name, or a null reference if name descriptor could not be found
culture  CultureInfo
The CultureInfo instance specifying the language associated with the name generation
innerException  Exception
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
See Also