Export (0) Print
Expand All

DelegatingConfigHost Class

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

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

System.Object
  System.Configuration.Internal.DelegatingConfigHost

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

public class DelegatingConfigHost : IInternalConfigHost

The DelegatingConfigHost type exposes the following members.

  NameDescription
Protected methodDelegatingConfigHostInfrastructure. Initializes a new instance of the DelegatingConfigHost class.
Top

  NameDescription
Protected propertyHostInfrastructure. Gets or sets the IInternalConfigHost object.
Public propertyIsRemoteGets a value indicating whether the configuration is remote.
Public propertySupportsChangeNotificationsInfrastructure. Gets a value indicating whether the host configuration supports change notifications.
Public propertySupportsLocationInfrastructure. Gets a value indicating whether the host configuration supports location tags.
Public propertySupportsPathInfrastructure. Gets a value indicating whether the host configuration has path support.
Public propertySupportsRefreshInfrastructure. Gets a value indicating whether the host configuration supports refresh.
Top

  NameDescription
Public methodCreateConfigurationContextInfrastructure. Creates a new configuration context.
Public methodCreateDeprecatedConfigContextInfrastructure. Creates a deprecated configuration context.
Public methodDecryptSectionInfrastructure. Decrypts an encrypted configuration section.
Public methodDeleteStreamInfrastructure. Deletes the Stream object performing I/O tasks on a configuration file.
Public methodEncryptSectionInfrastructure. Encrypts a section of a configuration object.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetConfigPathFromLocationSubPathInfrastructure. Returns a configuration path based on a location subpath.
Public methodGetConfigTypeInfrastructure. Returns a Type representing the type of the configuration.
Public methodGetConfigTypeNameInfrastructure. Returns a string representing the type name of the configuration object.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetRestrictedPermissionsInfrastructure. Sets the specified permission set if available within the host object.
Public methodGetStreamNameInfrastructure. Returns the name of a Stream object performing I/O tasks on a configuration file.
Public methodGetStreamNameForConfigSourceInfrastructure. Returns the name of a Stream object performing I/O tasks on a configuration source.
Public methodGetStreamVersionInfrastructure. Returns a FileVersion object representing the version of a Stream object performing I/O tasks on a configuration file.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodImpersonateInfrastructure. Instructs the host to impersonate and returns an IDisposable object required internally by the .NET Framework.
Public methodInitInfrastructure. Initializes the configuration host.
Public methodInitForConfigurationInfrastructure. Initializes the host for configuration.
Public methodIsAboveApplicationInfrastructure. Returns a value indicating whether the configuration is above the application configuration in the configuration hierarchy.
Public methodIsConfigRecordRequiredInfrastructure. Returns a value indicating whether a configuration record is required for the host configuration initialization.
Public methodIsDefinitionAllowedInfrastructure. Restricts or allows definitions in the host configuration.
Public methodIsFileInfrastructure. Returns a value indicating whether the file path used by a Stream object to read a configuration file is a valid path.
Public methodIsFullTrustSectionWithoutAptcaAllowedInfrastructure. 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.
Public methodIsInitDelayedInfrastructure. Returns a value indicating whether the initialization of a configuration object is considered delayed.
Public methodIsLocationApplicableInfrastructure. Returns 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 methodIsTrustedConfigPathInfrastructure. Returns a value indicating whether the configuration path is trusted.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOpenStreamForRead(String)Infrastructure. Opens a Stream object to read a configuration file.
Public methodOpenStreamForRead(String, Boolean)Opens a Stream object to read a configuration file.
Public methodOpenStreamForWrite(String, String, Object)Infrastructure. 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 methodPrefetchAllInfrastructure. Returns a value indicating whether the entire configuration file could be read by a designated Stream object.
Public methodPrefetchSectionInfrastructure. Instructs the IInternalConfigHost object to read a designated section of its associated configuration file.
Public methodRequireCompleteInitInfrastructure. Indicates that a new configuration record requires a complete initialization.
Public methodStartMonitoringStreamForChangesInfrastructure. Instructs the host to monitor an associated Stream object for changes in a configuration file.
Public methodStopMonitoringStreamForChangesInfrastructure. Instructs the host object to stop monitoring an associated Stream object for changes in a configuration file.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodVerifyDefinitionAllowedInfrastructure. Verifies that a configuration definition is allowed for a configuration record.
Public methodWriteCompleted(String, Boolean, Object)Infrastructure. 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, 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft