Modifier

Partager via


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 ref class DelegatingConfigHost : System::Configuration::Internal::IInternalConfigHost, System::Configuration::Internal::IInternalConfigurationBuilderHost
public class DelegatingConfigHost : System.Configuration.Internal.IInternalConfigHost
public class DelegatingConfigHost : System.Configuration.Internal.IInternalConfigHost, System.Configuration.Internal.IInternalConfigurationBuilderHost
type DelegatingConfigHost = class
    interface IInternalConfigHost
type DelegatingConfigHost = class
    interface IInternalConfigHost
    interface IInternalConfigurationBuilderHost
Public Class DelegatingConfigHost
Implements IInternalConfigHost
Public Class DelegatingConfigHost
Implements IInternalConfigHost, IInternalConfigurationBuilderHost
Inheritance
DelegatingConfigHost
Implements

Constructors

DelegatingConfigHost()

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

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

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

Determines if the delegated host has a local configuration.

HasRoamingConfig

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

Determines if the delegated host has a roaming configuration.

Host

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

Gets or sets the IInternalConfigHost object.

IsAppConfigHttp

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

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

IsRemote

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

Gets a value indicating whether the configuration is remote.

SupportsChangeNotifications

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

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

SupportsLocation

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

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

SupportsPath

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

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

SupportsRefresh

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

Gets a value indicating whether the host configuration supports refresh.

Methods

CreateConfigurationContext(String, String)

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

Creates a new configuration context.

CreateDeprecatedConfigContext(String)

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

Creates a deprecated configuration context.

DecryptSection(String, ProtectedConfigurationProvider, ProtectedConfigurationSection)

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

Decrypts an encrypted configuration section.

DeleteStream(String)

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

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

EncryptSection(String, ProtectedConfigurationProvider, ProtectedConfigurationSection)

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

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)

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

Returns a configuration path based on a location subpath.

GetConfigType(String, Boolean)

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

Returns a Type representing the type of the configuration.

GetConfigTypeName(Type)

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

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)

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

Obsolete.

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

GetStreamName(String)

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

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

GetStreamNameForConfigSource(String, String)

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

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

GetStreamVersion(String)

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

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()

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

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

Init(IInternalConfigRoot, Object[])

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

Initializes the configuration host.

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

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

Initializes the host for configuration.

IsAboveApplication(String)

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

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

IsConfigRecordRequired(String)

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

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

IsDefinitionAllowed(String, ConfigurationAllowDefinition, ConfigurationAllowExeDefinition)

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

Restricts or allows definitions in the host configuration.

IsFile(String)

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

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

IsFullTrustSectionWithoutAptcaAllowed(IInternalConfigRecord)

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

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)

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

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

IsLocationApplicable(String)

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

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

IsSecondaryRoot(String)

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

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

IsTrustedConfigPath(String)

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

Returns a value indicating whether the configuration path is trusted.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OpenStreamForRead(String, Boolean)

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

Opens a Stream object to read a configuration file.

OpenStreamForRead(String)

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

Opens a Stream object to read a configuration file.

OpenStreamForWrite(String, String, Object, Boolean)

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

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

OpenStreamForWrite(String, String, Object)

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

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.

PrefetchAll(String, String)

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

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

PrefetchSection(String, String)

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

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()

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

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

RequireCompleteInit(IInternalConfigRecord)

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

Indicates that a new configuration record requires a complete initialization.

StartMonitoringStreamForChanges(String, StreamChangeCallback)

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

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

StopMonitoringStreamForChanges(String, StreamChangeCallback)

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

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)

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

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

WriteCompleted(String, Boolean, Object, Boolean)

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

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

WriteCompleted(String, Boolean, Object)

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

Indicates that all writing to the configuration file has completed.

Applies to

See also