DelegatingConfigHost Class

Definition

Delegates all members of the IInternalConfigHost interface to another instance of a host.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class DelegatingConfigHost : System::Configuration::Internal::IInternalConfigHost
public class DelegatingConfigHost : System.Configuration.Internal.IInternalConfigHost
type DelegatingConfigHost = class
    interface IInternalConfigHost
Public Class DelegatingConfigHost
Implements IInternalConfigHost
Inheritance
DelegatingConfigHost
Implements

Constructors

DelegatingConfigHost()

Initializes a new instance of the DelegatingConfigHost class.

Properties

ConfigBuilderHost

Gets the IInternalConfigurationBuilderHost object if the delegated host provides the functionality required by that interface.

HasLocalConfig

Determines if the delegated host has a local configuration.

HasRoamingConfig

Determines if the delegated host has a roaming configuration.

Host

Gets or sets the IInternalConfigHost object.

IsAppConfigHttp

Determines if the application configuration file comes from a non-local URI (that is, http://) or is a local file.

IsRemote

Gets a value indicating whether the configuration is remote.

SupportsChangeNotifications

Gets a value indicating whether the host configuration supports change notifications.

SupportsLocation

Gets a value indicating whether the host configuration supports location tags.

SupportsPath

Gets a value indicating whether the host configuration has path support.

SupportsRefresh

Gets a value indicating whether the host configuration supports refresh.

Methods

CreateConfigurationContext(String, String)

Creates a new configuration context.

CreateDeprecatedConfigContext(String)

Creates a deprecated configuration context.

DecryptSection(String, ProtectedConfigurationProvider, ProtectedConfigurationSection)

Decrypts an encrypted configuration section.

DeleteStream(String)

Deletes the Stream object performing I/O tasks on a configuration file.

EncryptSection(String, ProtectedConfigurationProvider, ProtectedConfigurationSection)

Encrypts a section of a configuration object.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetConfigPathFromLocationSubPath(String, String)

Returns a configuration path based on a location subpath.

GetConfigType(String, Boolean)

Returns a Type representing the type of the configuration.

GetConfigTypeName(Type)

Returns a string representing the type name of the configuration object.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetRestrictedPermissions(IInternalConfigRecord, PermissionSet, Boolean)

Sets the specified permission set if available within the host object.

GetStreamName(String)

Returns the name of a Stream object performing I/O tasks on a configuration file.

GetStreamNameForConfigSource(String, String)

Returns the name of a Stream object performing I/O tasks on a configuration source.

GetStreamVersion(String)

Returns a FileVersion object representing the version of a Stream object performing I/O tasks on a configuration file.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
Impersonate()

Instructs the host to impersonate and returns an IDisposable object required internally by the .NET Framework.

Init(IInternalConfigRoot, Object[])

Initializes the configuration host.

InitForConfiguration(String, String, String, IInternalConfigRoot, Object[])

Initializes the host for configuration.

IsAboveApplication(String)

Returns a value indicating whether the configuration is above the application configuration in the configuration hierarchy.

IsConfigRecordRequired(String)

Returns a value indicating whether a configuration record is required for the host configuration initialization.

IsDefinitionAllowed(String, ConfigurationAllowDefinition, ConfigurationAllowExeDefinition)

Restricts or allows definitions in the host configuration.

IsFile(String)

Returns a value indicating whether the file path used by a Stream object to read a configuration file is a valid path.

IsFullTrustSectionWithoutAptcaAllowed(IInternalConfigRecord)

Returns a value indicating whether a configuration section requires a fully trusted code access security level and does not allow the AllowPartiallyTrustedCallersAttribute attribute to disable implicit link demands.

IsInitDelayed(IInternalConfigRecord)

Returns a value indicating whether the initialization of a configuration object is considered delayed.

IsLocationApplicable(String)

Returns a value indicating whether the configuration object supports a location tag.

IsSecondaryRoot(String)

Returns a value indicating whether a configuration path is to a configuration node whose contents should be treated as a root.

IsTrustedConfigPath(String)

Returns a value indicating whether the configuration path is trusted.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OpenStreamForRead(String)

Opens a Stream object to read a configuration file.

OpenStreamForRead(String, Boolean)

Opens a Stream object to read a configuration file.

OpenStreamForWrite(String, String, Object)

Opens a Stream object for writing to a configuration file or for writing to a temporary file used to build a configuration file. Allows a Stream object to be designated as a template for copying file attributes.

OpenStreamForWrite(String, String, Object, Boolean)

Opens a Stream object for writing to a configuration file. Allows a Stream object to be designated as a template for copying file attributes.

PrefetchAll(String, String)

Returns a value indicating whether the entire configuration file could be read by a designated Stream object.

PrefetchSection(String, String)

Instructs the IInternalConfigHost object to read a designated section of its associated configuration file.

ProcessConfigurationSection(ConfigurationSection, ConfigurationBuilder)

Processes a ConfigurationSection object using the provided ConfigurationBuilder.

ProcessRawXml(XmlNode, ConfigurationBuilder)

Processes the markup of a configuration section using the provided ConfigurationBuilder.

RefreshConfigPaths()

Invokes the delegated host's method that refreshes configuration paths.

RequireCompleteInit(IInternalConfigRecord)

Indicates that a new configuration record requires a complete initialization.

StartMonitoringStreamForChanges(String, StreamChangeCallback)

Instructs the host to monitor an associated Stream object for changes in a configuration file.

StopMonitoringStreamForChanges(String, StreamChangeCallback)

Instructs the host object to stop monitoring an associated Stream object for changes in a configuration file.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
VerifyDefinitionAllowed(String, ConfigurationAllowDefinition, ConfigurationAllowExeDefinition, IConfigErrorInfo)

Verifies that a configuration definition is allowed for a configuration record.

WriteCompleted(String, Boolean, Object)

Indicates that all writing to the configuration file has completed.

WriteCompleted(String, Boolean, Object, Boolean)

Indicates that all writing to the configuration file has completed and specifies whether permissions should be asserted.

Applies to

See also