[This is preliminary documentation and subject to change]
This metabase property specifies whether IIS will check the threading model of any components that your application instantiates.
Important
It is usually best to leave this
metabase property set to its default value (FALSE), so that ASP
will not use system resources to track the threading model. and
your ASP application will usually provide 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 will generate an error when you
try to instantiate 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 its default setting (FALSE), is that any objects instantiated in your ASP application that lack the OnStartPage or OnEndPage method will be released earlier than they would be otherwise. This should improve your application's scalability. For more details on improving performance, see Developing Scalable ASP Applications.
Note
In IIS 4.0, the default for this metabase
property was TRUE. The Web service setting for this property is
applicable to all in-process and pooled out-of-process application
nodes, at all levels. Metabase settings at the Web server level or
lower will be ignored for in-process and pooled out-of-process
applications. However, settings at the Web server level or lower
will be used if that node is an isolated out-of-process
application.
| Attribute Name | Attribute Value |
| Data Type | BOOL |
| Attributes | INHERIT |
| Default Value | FALSE |
| MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
| User Type | IIS_MD_UT_WAM |
| StartingNumber | |
| EndingNumber | 0 |
| ID | 7020 |
This property is accessible at the following locations:
| Metabase Path | IIS Admin Object Type |
| /LM/W3SVC/2 | IIsWebServer |
| /LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer |
| /LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer |
| /LM/W3SVC | IIsWebService |
| /LM/W3SVC/1/ROOT | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/_vti_bin | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/IISAdmin | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/IISHelp | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/MSADC | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/Scripts | IIsWebVirtualDir |
| /LM/W3SVC/2/ROOT | IIsWebVirtualDir |
| /LM/W3SVC/2/ROOT/IISAdmin | IIsWebVirtualDir |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
| Metabase identifier | MD_ASP_TRACKTHREADINGMODEL |
| Data type | BOOL |
| User type | IIS_MD_UT_WAM |