Share via


XmlConfigHelper Class

Definition

Provides methods for reading configuration settings in the user's project.

public ref class XmlConfigHelper abstract : IDisposable
public abstract class XmlConfigHelper : IDisposable
type XmlConfigHelper = class
    interface IDisposable
Public MustInherit Class XmlConfigHelper
Implements IDisposable
Inheritance
XmlConfigHelper
Derived
Implements

Remarks

Instances of this class are provided by the Connected Services infrastructure. It is not intended that you inherit from this class from your production code.

Constructors

XmlConfigHelper()

Initializes a new instance of the XmlConfigHelper class. This constructor supports unit testing your extension and is not intended to be used directly from your production code.

Properties

Configuration

Gets the Configuration object that can be used to inspect the configuration settings.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(Boolean)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetAppSetting(String)

Gets the string value of the setting with the specified key in the appSettings config section with the specified key and value.

IsPrefixUsedInAppSettings(String)

Gets a value indicating whether an appSetting key exists with the specified keyPrefix.

Applies to