IInternalConfigHost Interface

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

Namespace:  System.Configuration.Internal
Assembly:  System.Configuration (in System.Configuration.dll)

[ComVisibleAttribute(false)]
public interface IInternalConfigHost

The IInternalConfigHost type exposes the following members.

  NameDescription
Public propertyIsRemoteReturns a value indicating whether the configuration is remote.
Public propertySupportsChangeNotificationsReturns a value indicating whether the host configuration supports change notification.
Public propertySupportsLocationReturns a value indicating whether the host configuration supports location tags.
Public propertySupportsPathReturns a value indicating whether the host configuration supports path tags.
Public propertySupportsRefreshReturns a value indicating whether the host configuration supports configuration refresh.
Top

  NameDescription
Public methodCreateConfigurationContextCreates and returns a context object for a ConfigurationElement of an application configuration.
Public methodCreateDeprecatedConfigContextCreates and returns a deprecated context object of the application configuration.
Public methodDecryptSectionDecrypts an encrypted configuration section and returns it as a string.
Public methodDeleteStreamDeletes the Stream object performing I/O tasks on the application configuration file.
Public methodEncryptSectionEncrypts a configuration section and returns it as a string.
Public methodGetConfigPathFromLocationSubPathReturns the complete path to an application configuration file based on the location subpath.
Public methodGetConfigTypeReturns a Type object representing the type of the configuration object.
Public methodGetConfigTypeNameReturns a string representing a type name from the Type object representing the type of the configuration.
Public methodGetRestrictedPermissionsAssociates the configuration with a PermissionSet object.
Public methodGetStreamNameReturns a string representing the configuration file name associated with the Stream object performing I/O tasks on the configuration file.
Public methodGetStreamNameForConfigSourceReturns a string representing the configuration file name associated with the Stream object performing I/O tasks on a remote configuration file.
Public methodGetStreamVersionReturns the version of the Stream object associated with configuration file.
Public methodImpersonateInstructs the host to impersonate and returns an IDisposable object required by the internal .NET structure.
Public methodInitInitializes a configuration host.
Public methodInitForConfigurationInitializes a configuration object.
Public methodIsAboveApplicationReturns a value indicating whether the configuration file is located at a higher level in the configuration hierarchy than the application configuration.
Public methodIsConfigRecordRequiredReturns a value indicating whether a child record is required for a child configuration path.
Public methodIsDefinitionAllowedDetermines if a different Type definition is allowable for an application configuration object.
Public methodIsFileReturns a value indicating whether the file path used by a Stream object to read a configuration file is a valid path.
Public methodIsFullTrustSectionWithoutAptcaAllowedReturns 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.
Public methodIsInitDelayedReturns a value indicating whether the initialization of a configuration object is considered delayed.
Public methodIsLocationApplicableReturns a value indicating whether the configuration object supports a location tag.
Public methodIsSecondaryRootReturns a value indicating whether a configuration path is to a configuration node whose contents should be treated as a root.
Public methodIsTrustedConfigPathReturns a value indicating whether the configuration path is trusted.
Public methodOpenStreamForRead(String)Opens a Stream to read a configuration file.
Public methodOpenStreamForRead(String, Boolean)Opens a Stream object to read a configuration file.
Public methodOpenStreamForWrite(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.
Public methodOpenStreamForWrite(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.
Public methodPrefetchAllReturns a value indicating whether the entire configuration file could be read by a designated Stream object.
Public methodPrefetchSectionInstructs the IInternalConfigHost object to read a designated section of its associated configuration file.
Public methodRequireCompleteInitIndicates a new configuration record requires a complete initialization.
Public methodStartMonitoringStreamForChangesInstructs the IInternalConfigHost object to monitor an associated Stream object for changes in a configuration file.
Public methodStopMonitoringStreamForChangesInstructs the IInternalConfigHost object to stop monitoring an associated Stream object for changes in a configuration file.
Public methodVerifyDefinitionAllowedVerifies that a configuration definition is allowed for a configuration record.
Public methodWriteCompleted(String, Boolean, Object)Indicates that all writing to the configuration file has completed.
Public methodWriteCompleted(String, Boolean, Object, Boolean)Indicates that all writing to the configuration file has completed and specifies whether permissions should be asserted.
Top

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft