IdentitySection 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
웹 애플리케이션의 ID를 구성합니다. 이 클래스는 상속될 수 없습니다.
public ref class IdentitySection sealed : System::Configuration::ConfigurationSection
public sealed class IdentitySection : System.Configuration.ConfigurationSection
type IdentitySection = class
inherit ConfigurationSection
Public NotInheritable Class IdentitySection
Inherits ConfigurationSection
- 상속
예제
다음 코드 예제에서는 가져오는 방법을 보여 줍니다는 IdentitySection 기존 웹 애플리케이션의 구성 파일에서 개체입니다.
// Get the Web application configuration.
System.Configuration.Configuration configuration = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("/aspnetTest");
// Get the section.
System.Web.Configuration.IdentitySection identitySection = (System.Web.Configuration.IdentitySection)configuration.GetSection("system.web/identity");
' Get the Web application configuration.
Dim configuration As System.Configuration.Configuration = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("/aspnetTest")
' Get the section.
Dim identitySection As System.Web.Configuration.IdentitySection = CType(configuration.GetSection("system.web/identity"), System.Web.Configuration.IdentitySection)
설명
합니다 IdentitySection 프로그래밍 방식으로 액세스 하 고 수정 하는 방법을 제공 합니다 identity
구성 파일의 섹션입니다.
참고
합니다 IdentitySection 읽고에서 섹션 속성에 따라 구성 파일의 관련 섹션 정보를 쓸 수 있습니다 AllowDefinition 값인 Everywhere합니다.
생성자
IdentitySection() |
기본 매개 변수를 사용하여 IdentitySection 클래스의 새 인스턴스를 초기화합니다. |