내보내기(0) 인쇄
모두 확장
확장 최소화

AspTrackThreadingModel Metabase Property

업데이트 날짜: 2005년 8월

적용 대상: Windows Server 2003, Windows Server 2003 with SP1

The AspTrackThreadingModel property specifies whether IIS checks the threading model of any components that your application creates.

Important중요
This metabase property is usually best left at the default value (false), so that ASP will not use system resources to track the threading model and your ASP application provides the best possible performance. If this property is set to false, and you give application scope to components that you create, those components must aggregate the free-threaded marshaler. If you do not aggregate the free-threaded marshaler, ASP generates an error when you try to create an instance of the component. For more information about this topic, see the "Building Components for ASP" section in the Platform SDK.

Another reason to leave this property at the default setting (false), is that any objects that are created in your ASP application without the OnStartPage or OnEndPage method are released earlier than they would be otherwise and there is degradation of your application's scalability. For more details about improving performance, see 성능 조정. Also with this property set to false ASP is prevented from writing the response before destroying the component.

note참고
In IIS 4.0, the default value for this property was true.

Setting this property at the IIsWebService level applies to all in-process and pooled out-of-process application keys, at all levels. Metabase settings at the IIsWebServer level or lower are ignored for in-process and pooled out-of-process applications. However, settings at the IIsWebServer level or lower are used if that key is an isolated out-of-process application.

 

Attribute Name Attribute Value

XML Data Type

Boolean

WMI Data Type

Boolean

ADSI Data Type

Boolean

ABO Data Type

Boolean

ABO Metabase Identifier

MD_ASP_ID_LAST

Attributes

INHERIT

Default Value

false

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

iis_md_ut_wam

ID

7020

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

 

Metabase Path IIS Admin Object Type

/LM/W3SVC/n/ROOT /LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

/LM/W3SVC/n

IIsWebServer

/LM/W3SVC

IIsWebService

/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.

이 정보가 도움이 되었습니까?
(1500자 남음)
의견을 주셔서 감사합니다.

커뮤니티 추가 항목

추가
Microsoft는 MSDN 웹 사이트에 대한 귀하의 의견을 이해하기 위해 온라인 설문 조사를 진행하고 있습니다. 참여하도록 선택하시면 MSDN 웹 사이트에서 나가실 때 온라인 설문 조사가 표시됩니다.

참여하시겠습니까?
표시:
© 2014 Microsoft