다음을 통해 공유


ProcessModelSection.Enable 속성

정의

프로세스 모델을 사용할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool Enable { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("enable", DefaultValue=true)]
public bool Enable { get; set; }
[<System.Configuration.ConfigurationProperty("enable", DefaultValue=true)>]
member this.Enable : bool with get, set
Public Property Enable As Boolean

속성 값

프로세스 모델을 사용하도록 설정하면 기본값은 true입니다.

특성

예제

다음 코드 예제에서는 속성에 액세스 하는 방법을 보여 있습니다 Enable .


// Get the current Enable property value.

bool enable = processModelSection.Enable;

// Set the Enable property to false.
processModelSection.Enable = false;
' Get the current Enable property value.
Dim enable As Boolean = processModelSection.Enable

' Set the Enable property to false.
processModelSection.Enable = False

설명

이 속성은 Enable ASP.NET 외부 작업자 프로세스에서 호스트되는지 여부를 지정합니다. true이 경우 Enable ASP.NET 외부 작업자 프로세스에서 호스트되고, 그렇지 않으면 Inetinfo.exe직접 실행됩니다.

메모

로컬 시스템 보안 컨텍스트에서 애플리케이션을 실행해야 하므로 Inetinfo.exe ASP.NET 실행하는 것은 권장되지 않습니다. ASP.NET IIS(인터넷 정보 서비스) 6 기본 모드에서 실행되는 경우 이 설정은 무시되므로 일반적으로 설정할 false이유가 없습니다.

적용 대상