Share via


HostSection Class

Provides configuration system support for the host configuration section.

Inheritance Hierarchy

System.Object
  System.Configuration.ConfigurationElement
    System.Configuration.ConfigurationSection
      System.Web.WebPages.Razor.Configuration.HostSection

Namespace:  System.Web.WebPages.Razor.Configuration
Assembly:  System.Web.WebPages.Razor (in System.Web.WebPages.Razor.dll)

Syntax

'Declaration
Public Class HostSection _
    Inherits ConfigurationSection
'Usage
Dim instance As HostSection
public class HostSection : ConfigurationSection
public ref class HostSection : public ConfigurationSection
type HostSection =  
    class 
        inherit ConfigurationSection 
    end
public class HostSection extends ConfigurationSection

The HostSection type exposes the following members.

Constructors

  Name Description
Public method HostSection Initializes a new instance of the HostSection class.

Top

Properties

  Name Description
Public property CurrentConfiguration (Inherited from ConfigurationElement.)
Public property ElementInformation (Inherited from ConfigurationElement.)
Protected property ElementProperty (Inherited from ConfigurationElement.)
Protected property EvaluationContext (Inherited from ConfigurationElement.)
Public property FactoryType Gets or sets the host factory.
Protected property HasContext (Inherited from ConfigurationElement.)
Protected property Item[ConfigurationProperty] (Inherited from ConfigurationElement.)
Protected property Item[String] (Inherited from ConfigurationElement.)
Public property LockAllAttributesExcept (Inherited from ConfigurationElement.)
Public property LockAllElementsExcept (Inherited from ConfigurationElement.)
Public property LockAttributes (Inherited from ConfigurationElement.)
Public property LockElements (Inherited from ConfigurationElement.)
Public property LockItem (Inherited from ConfigurationElement.)
Protected property Properties (Inherited from ConfigurationElement.)
Public property SectionInformation (Inherited from ConfigurationSection.)

Top

Methods

  Name Description
Protected method DeserializeElement (Inherited from ConfigurationElement.)
Protected method DeserializeSection (Inherited from ConfigurationSection.)
Public method Equals (Inherited from ConfigurationElement.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from ConfigurationElement.)
Protected method GetRuntimeObject (Inherited from ConfigurationSection.)
Protected method GetTransformedAssemblyString (Inherited from ConfigurationElement.)
Protected method GetTransformedTypeString (Inherited from ConfigurationElement.)
Public method GetType (Inherited from Object.)
Protected method Init (Inherited from ConfigurationElement.)
Protected method InitializeDefault (Inherited from ConfigurationElement.)
Protected method IsModified (Inherited from ConfigurationSection.)
Public method IsReadOnly (Inherited from ConfigurationElement.)
Protected method ListErrors (Inherited from ConfigurationElement.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserializeUnrecognizedAttribute (Inherited from ConfigurationElement.)
Protected method OnDeserializeUnrecognizedElement (Inherited from ConfigurationElement.)
Protected method OnRequiredPropertyNotFound (Inherited from ConfigurationElement.)
Protected method PostDeserialize (Inherited from ConfigurationElement.)
Protected method PreSerialize (Inherited from ConfigurationElement.)
Protected method Reset (Inherited from ConfigurationElement.)
Protected method ResetModified (Inherited from ConfigurationSection.)
Protected method SerializeElement (Inherited from ConfigurationElement.)
Protected method SerializeSection (Inherited from ConfigurationSection.)
Protected method SerializeToXmlElement (Inherited from ConfigurationElement.)
Protected method SetPropertyValue (Inherited from ConfigurationElement.)
Protected method SetReadOnly (Inherited from ConfigurationElement.)
Protected method ShouldSerializeElementInTargetVersion (Inherited from ConfigurationSection.)
Protected method ShouldSerializePropertyInTargetVersion (Inherited from ConfigurationSection.)
Protected method ShouldSerializeSectionInTargetVersion (Inherited from ConfigurationSection.)
Public method ToString (Inherited from Object.)
Protected method Unmerge (Inherited from ConfigurationElement.)

Top

Fields

  Name Description
Public fieldStatic member SectionName Represents the name of the configuration section for a Razor host environment.

Top

Thread Safety

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

See Also

Reference

System.Web.WebPages.Razor.Configuration Namespace