SystemWebSectionGroup 클래스

정의

사용자가 프로그래밍 방식으로 구성 파일의 그룹에 액세스할 수 system.web 있습니다. 이 클래스는 상속할 수 없습니다.

public ref class SystemWebSectionGroup sealed : System::Configuration::ConfigurationSectionGroup
public sealed class SystemWebSectionGroup : System.Configuration.ConfigurationSectionGroup
type SystemWebSectionGroup = class
    inherit ConfigurationSectionGroup
Public NotInheritable Class SystemWebSectionGroup
Inherits ConfigurationSectionGroup
상속
SystemWebSectionGroup

예제

다음 코드 예제에서는 기존 웹 애플리케이션과 연결된 구성 파일에서 개체를 가져오는 SystemWebSectionGroup 방법을 보여 있습니다. 이 개체를 사용하여 그룹에 포함된 섹션에 system.web 액세스할 수 있습니다.


// Get the Web application configuration.
System.Configuration.Configuration configuration =
    WebConfigurationManager.OpenWebConfiguration(
    "/aspnetTest");

// Get the <system.web> group.
SystemWebSectionGroup systemWeb =
  (SystemWebSectionGroup)configuration.GetSectionGroup("system.web");
' Get the Web application configuration.
Dim configuration As System.Configuration.Configuration = _
WebConfigurationManager.OpenWebConfiguration( _
"/aspnetTest")

' Get the <system.web> group.
Dim systemWeb As SystemWebSectionGroup = _
CType(configuration.GetSectionGroup( _
"system.web"), SystemWebSectionGroup)

설명

클래스는 SystemWebSectionGroup 구성 파일 내의 system.web 그룹을 참조합니다. 이 형식을 사용하여 이 그룹에 포함된 섹션에 액세스할 수 있습니다.

생성자

Name Description
SystemWebSectionGroup()

SystemWebSectionGroup새 인스턴스를 생성합니다.

속성

Name Description
AnonymousIdentification

섹션을 anonymousIdentification 가져옵니다.

Authentication

섹션을 authentication 가져옵니다.

Authorization

섹션을 authorization 가져옵니다.

BrowserCaps

섹션을 browserCaps 가져옵니다.

ClientTarget

섹션을 clientTarget 가져옵니다.

Compilation

섹션을 compilation 가져옵니다.

CustomErrors

섹션을 customErrors 가져옵니다.

Deployment

섹션을 deployment 가져옵니다.

DeviceFilters

섹션을 deviceFilters 가져옵니다.

FullTrustAssemblies

구성 파일의 FullTrustAssemblies 섹션을 가져옵니다.

Globalization

섹션을 globalization 가져옵니다.

HealthMonitoring

섹션을 healthMonitoring 가져옵니다.

HostingEnvironment

섹션을 hostingEnvironment 가져옵니다.

HttpCookies

섹션을 httpCookies 가져옵니다.

HttpHandlers

섹션을 httpHandlers 가져옵니다.

HttpModules

섹션을 httpModules 가져옵니다.

HttpRuntime

섹션을 httpRuntime 가져옵니다.

Identity

섹션을 identity 가져옵니다.

IsDeclarationRequired

ConfigurationSectionGroup 개체 선언이 필요한지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ConfigurationSectionGroup)
IsDeclared

ConfigurationSectionGroup 개체가 선언되었는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ConfigurationSectionGroup)
MachineKey

섹션을 machineKey 가져옵니다.

Membership

섹션을 membership 가져옵니다.

MobileControls
사용되지 않음.

섹션을 mobileControls 가져옵니다.

Name

ConfigurationSectionGroup 개체의 이름 속성을 가져옵니다.

(다음에서 상속됨 ConfigurationSectionGroup)
Pages

섹션을 pages 가져옵니다.

PartialTrustVisibleAssemblies

구성 파일의 PartialTrustVisibleAssemblies 섹션을 가져옵니다.

ProcessModel

섹션을 processModel 가져옵니다.

Profile

섹션을 profile 가져옵니다.

Protocols

섹션을 protocols 가져옵니다.

RoleManager

섹션을 roleManager 가져옵니다.

SectionGroupName

ConfigurationSectionGroup항목과 연결된 섹션 그룹 이름을 가져옵니다.

(다음에서 상속됨 ConfigurationSectionGroup)
SectionGroups

ConfigurationSectionGroupCollection 개체의 ConfigurationSectionGroup 자식 개체를 ConfigurationSectionGroup 모두 포함하는 개체를 가져옵니다.

(다음에서 상속됨 ConfigurationSectionGroup)
Sections

ConfigurationSectionCollectionConfigurationSection 개체 내의 ConfigurationSectionGroup 모든 개체를 포함하는 개체를 가져옵니다.

(다음에서 상속됨 ConfigurationSectionGroup)
SecurityPolicy

섹션을 securityPolicy 가져옵니다.

SessionState

섹션을 sessionState 가져옵니다.

SiteMap

섹션을 siteMap 가져옵니다.

Trace

섹션을 trace 가져옵니다.

Trust

섹션을 trust 가져옵니다.

Type

ConfigurationSectionGroup 개체의 형식을 가져오거나 설정합니다.

(다음에서 상속됨 ConfigurationSectionGroup)
UrlMappings

섹션을 urlMappings 가져옵니다.

WebControls

섹션을 webControls 가져옵니다.

WebParts

섹션을 webParts 가져옵니다.

WebServices

섹션을 webServices 가져옵니다.

XhtmlConformance

섹션을 xhtmlConformance 가져옵니다.

메서드

Name Description
Equals(Object)

지정된 개체가 현재 개체와 같은지 여부를 확인합니다.

(다음에서 상속됨 Object)
ForceDeclaration()

ConfigurationSectionGroup 개체에 대한 선언을 강제로 실행합니다.

(다음에서 상속됨 ConfigurationSectionGroup)
ForceDeclaration(Boolean)

ConfigurationSectionGroup 개체에 대한 선언을 강제로 실행합니다.

(다음에서 상속됨 ConfigurationSectionGroup)
GetHashCode()

기본 해시 함수로 사용됩니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ShouldSerializeSectionGroupInTargetVersion(FrameworkName)

구성 개체 계층이 지정된 대상 버전의 .NET Framework에 대해 serialize될 때 현재 ConfigurationSectionGroup 인스턴스를 serialize해야 하는지 여부를 나타냅니다.

(다음에서 상속됨 ConfigurationSectionGroup)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상