Click or drag to resize

FeedGetConfigurationBuilderFromConfig Method

Note: This API is now obsolete.

Constructs a IConfigurationBuilder instance, which already contains information read from the configuration (app.config) file

Namespace: Sportradar.OddsFeed.SDK.API
Assembly: Sportradar.OddsFeed.SDK.API (in Sportradar.OddsFeed.SDK.API.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax
C#
[ObsoleteAttribute("Use GetConfigurationBuilder")]
public static IOddsFeedConfigurationBuilder GetConfigurationBuilderFromConfig()

Return Value

IOddsFeedConfigurationBuilder
A IConfigurationBuilder instance, which already contains information read from the configuration (app.config) file
Exceptions
ExceptionCondition
InvalidOperationExceptionThe configuration could not be loaded, or the requested section does not exist in the config file
ConfigurationErrorsExceptionThe section read from the configuration file is not valid
See Also