IInternalConfigHost Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 class IInternalConfigHost

NameDescription
System_CAPS_pubpropertyIsRemote

Returns a value indicating whether the configuration is remote.

System_CAPS_pubpropertySupportsChangeNotifications

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

System_CAPS_pubpropertySupportsLocation

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

System_CAPS_pubpropertySupportsPath

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

System_CAPS_pubpropertySupportsRefresh

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

NameDescription
System_CAPS_pubmethodCreateConfigurationContext(String^, String^)

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

System_CAPS_pubmethodCreateDeprecatedConfigContext(String^)

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

System_CAPS_pubmethodDecryptSection(String^, ProtectedConfigurationProvider^, ProtectedConfigurationSection^)

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

System_CAPS_pubmethodDeleteStream(String^)

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

System_CAPS_pubmethodEncryptSection(String^, ProtectedConfigurationProvider^, ProtectedConfigurationSection^)

Encrypts a configuration section and returns it as a string.

System_CAPS_pubmethodGetConfigPathFromLocationSubPath(String^, String^)

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

System_CAPS_pubmethodGetConfigType(String^, Boolean)

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

System_CAPS_pubmethodGetConfigTypeName(Type^)

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

System_CAPS_pubmethodGetRestrictedPermissions(IInternalConfigRecord^, PermissionSet^%, Boolean%)

Associates the configuration with a PermissionSet object.

System_CAPS_pubmethodGetStreamName(String^)

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

System_CAPS_pubmethodGetStreamNameForConfigSource(String^, String^)

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

System_CAPS_pubmethodGetStreamVersion(String^)

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

System_CAPS_pubmethodImpersonate()

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

System_CAPS_pubmethodInit(IInternalConfigRoot^, array<Object^>^)

Initializes a configuration host.

System_CAPS_pubmethodInitForConfiguration(String^%, String^%, String^%, IInternalConfigRoot^, array<Object^>^)

Initializes a configuration object.

System_CAPS_pubmethodIsAboveApplication(String^)

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

System_CAPS_pubmethodIsConfigRecordRequired(String^)

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

System_CAPS_pubmethodIsDefinitionAllowed(String^, ConfigurationAllowDefinition, ConfigurationAllowExeDefinition)

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

System_CAPS_pubmethodIsFile(String^)

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

System_CAPS_pubmethodIsFullTrustSectionWithoutAptcaAllowed(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.

System_CAPS_pubmethodIsInitDelayed(IInternalConfigRecord^)

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

System_CAPS_pubmethodIsLocationApplicable(String^)

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

System_CAPS_pubmethodIsSecondaryRoot(String^)

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

System_CAPS_pubmethodIsTrustedConfigPath(String^)

Returns a value indicating whether the configuration path is trusted.

System_CAPS_pubmethodOpenStreamForRead(String^)

Opens a Stream to read a configuration file.

System_CAPS_pubmethodOpenStreamForRead(String^, Boolean)

Opens a Stream object to read a configuration file.

System_CAPS_pubmethodOpenStreamForWrite(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.

System_CAPS_pubmethodOpenStreamForWrite(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.

System_CAPS_pubmethodPrefetchAll(String^, String^)

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

System_CAPS_pubmethodPrefetchSection(String^, String^)

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

System_CAPS_pubmethodRequireCompleteInit(IInternalConfigRecord^)

Indicates a new configuration record requires a complete initialization.

System_CAPS_pubmethodStartMonitoringStreamForChanges(String^, StreamChangeCallback^)

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

System_CAPS_pubmethodStopMonitoringStreamForChanges(String^, StreamChangeCallback^)

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

System_CAPS_pubmethodVerifyDefinitionAllowed(String^, ConfigurationAllowDefinition, ConfigurationAllowExeDefinition, IConfigErrorInfo^)

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

System_CAPS_pubmethodWriteCompleted(String^, Boolean, Object^)

Indicates that all writing to the configuration file has completed.

System_CAPS_pubmethodWriteCompleted(String^, Boolean, Object^, Boolean)

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

.NET Framework
Available since 2.0
Return to top
Show: