IInternalConfigHost Interface

Definition

Defines interfaces used by internal .NET structures to initialize application configuration properties.

public interface class IInternalConfigHost
[System.Runtime.InteropServices.ComVisible(false)]
public interface IInternalConfigHost
type IInternalConfigHost = interface
Public Interface IInternalConfigHost
Derived
Attributes

Properties

IsRemote

Returns a value indicating whether the configuration is remote.

SupportsChangeNotifications

Returns a value indicating whether the host configuration supports change notification.

SupportsLocation

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

SupportsPath

Returns a value indicating whether the host configuration supports path tags.

SupportsRefresh

Returns a value indicating whether the host configuration supports configuration refresh.

Methods

CreateConfigurationContext(String, String)

Creates and returns a context object for a ConfigurationElement of an application configuration.

CreateDeprecatedConfigContext(String)

Creates and returns a deprecated context object of the application configuration.

DecryptSection(String, ProtectedConfigurationProvider, ProtectedConfigurationSection)

Decrypts an encrypted configuration section and returns it as a string.

DeleteStream(String)

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

EncryptSection(String, ProtectedConfigurationProvider, ProtectedConfigurationSection)

Encrypts a configuration section and returns it as a string.

GetConfigPathFromLocationSubPath(String, String)

Returns the complete path to an application configuration file based on the location subpath.

GetConfigType(String, Boolean)

Returns a Type object representing the type of the configuration object.

GetConfigTypeName(Type)

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

GetRestrictedPermissions(IInternalConfigRecord, PermissionSet, Boolean)

Associates the configuration with a PermissionSet object.

GetStreamName(String)

Returns a string representing the configuration file name associated with the Stream object performing I/O tasks on the configuration file.

GetStreamNameForConfigSource(String, String)

Returns a string representing the configuration file name associated with the Stream object performing I/O tasks on a remote configuration file.

GetStreamVersion(String)

Returns the version of the Stream object associated with configuration file.

Impersonate()

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

Init(IInternalConfigRoot, Object[])

Initializes a configuration host.

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

Initializes a configuration object.

IsAboveApplication(String)

Returns a value indicating whether the configuration file is located at a higher level in the configuration hierarchy than the application configuration.

IsConfigRecordRequired(String)

Returns a value indicating whether a child record is required for a child configuration path.

IsDefinitionAllowed(String, ConfigurationAllowDefinition, ConfigurationAllowExeDefinition)

Determines if a different Type definition is allowable for an application configuration object.

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.

OpenStreamForRead(String)

Opens a Stream 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 that indicates 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.

RequireCompleteInit(IInternalConfigRecord)

Indicates a new configuration record requires a complete initialization.

StartMonitoringStreamForChanges(String, StreamChangeCallback)

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

StopMonitoringStreamForChanges(String, StreamChangeCallback)

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

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