Redigera

Dela via


CachingSectionGroup Class

Definition

Defines a configuration section for .NET Framework caching. This class cannot be inherited.

public ref class CachingSectionGroup sealed : System::Configuration::ConfigurationSectionGroup
public sealed class CachingSectionGroup : System.Configuration.ConfigurationSectionGroup
type CachingSectionGroup = class
    inherit ConfigurationSectionGroup
Public NotInheritable Class CachingSectionGroup
Inherits ConfigurationSectionGroup
Inheritance
CachingSectionGroup

Remarks

The CachingSectionGroup class defines a caching section (system.runtime.caching) for configuration files. This section contains elements that are used to configure various types of caches. In ASP.NET, the only element that is available in the caching section is the <memoryCache> element. This element configures caches that are based on the MemoryCache class.

Constructors

CachingSectionGroup()

Initializes a new instance of the CachingSectionGroup class.

Properties

IsDeclarationRequired

Gets a value that indicates whether this ConfigurationSectionGroup object declaration is required.

(Inherited from ConfigurationSectionGroup)
IsDeclared

Gets a value that indicates whether this ConfigurationSectionGroup object is declared.

(Inherited from ConfigurationSectionGroup)
MemoryCaches

Gets the collection of MemoryCacheElement objects.

Name

Gets the name property of this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
SectionGroupName

Gets the section group name associated with this ConfigurationSectionGroup.

(Inherited from ConfigurationSectionGroup)
SectionGroups

Gets a ConfigurationSectionGroupCollection object that contains all the ConfigurationSectionGroup objects that are children of this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
Sections

Gets a ConfigurationSectionCollection object that contains all of ConfigurationSection objects within this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
Type

Gets or sets the type for this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
ForceDeclaration()

Forces the declaration for this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
ForceDeclaration(Boolean)

Forces the declaration for this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeSectionGroupInTargetVersion(FrameworkName)

Indicates whether the current ConfigurationSectionGroup instance should be serialized when the configuration object hierarchy is serialized for the specified target version of the .NET Framework.

(Inherited from ConfigurationSectionGroup)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also