2025-04-27 07:49:33 -04:00

141 lines
5.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>AspTrackThreadingModel</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
TempString = navigator.appVersion
if (navigator.appName == "Microsoft Internet Explorer"){
// Check to see if browser is Microsoft
if (TempString.indexOf ("4.") >= 0){
// Check to see if it is IE 4
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else {
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
}
}
else if (navigator.appName == "Netscape") {
// Check to see if browser is Netscape
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
//-->
</script>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub Window_OnLoad()
Dim frmContents
On Error Resume Next
If Not Parent Is Nothing Then
Set frmContents = Parent.Contents
If Not frmContents Is Nothing Then
frmContents.Window.TOCSynch_Click
End If
End If
End Sub
//--></SCRIPT><META NAME="DESCRIPTION" CONTENT="Internet Information Services reference information">
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META NAME="MS-IT-LOC" Content="Internet Information Services">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H3><A NAME="_k2_asptrackthreadingmodel"></A><SUP></SUP>AspTrackThreadingModel</H3>
<P>This metabase property specifies whether IIS will check the threading model of any components that your application instantiates.</P>
<P><span class=le><B>Important&nbsp;&nbsp;&nbsp;</B></span>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 <B>Building Components for ASP</B> section in the Platform SDK.</P>
<P>Another reason to leave this property at its default setting (FALSE), is that any objects instantiated in your ASP application that lack the <B>OnStartPage</B> or <B>OnEndPage</B> method will be released earlier than they would be otherwise. This should improve your application's scalability.</P>
<P>For more details on improving performance, see <A HREF="/iishelp/iis/htm/asp/perf6j1v.htm"><B>Developing Scalable ASP Applications</B></A>.</P>
<P><span class=le><B>Note</B></span>&nbsp;&nbsp;&nbsp;In IIS 4.0, the default for this metabase property was TRUE.</P>
<P>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.</P>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD width=50%>Data type</TD>
<TD width=50%>Boolean</TD>
</TR>
<TR VALIGN="top">
<TD width=50%>Default value</TD>
<TD width=50%>FALSE</TD>
</TR>
<TR VALIGN="top">
<TD width=50%>Inheritance</TD>
<TD width=50%>Inheritable</TD>
</TR>
</TABLE><BR>
<H6>Access Locations</H6>
<P>This property is accessible at the following locations:</P>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD class=blue width=50%><B>Metabase Path</B></TD>
<TD class=blue width=50%><B>Key Type</B></TD>
</TR>
<TR VALIGN="top">
<TD width=50%>/LM/W3SVC</TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore1p5x.htm"><B>IIsWebService</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=50%>/LM/W3SVC/<I>N</I></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore7zn6.htm"><B>IIsWebServer</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=50%>/LM/W3SVC/<I>N</I>/ROOT</TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore8v5e.htm"><B>IIsWebVirtualDir</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=50%>/LM/W3SVC/<I>N</I>/ROOT/<I>WebVirtualDir</I></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore8v5e.htm"><B>IIsWebVirtualDir</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=50%>/LM/W3SVC/<I>N</I>/ROOT/<I>WebVirtualDir</I>/<I>WebDirectory</I></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore1jw9.htm"><B>IIsWebDirectory</B></A></TD>
</TR>
</TABLE><BR>
<H6>IIS Admin Base Object Information</H6>
<P>The following table lists additional information required only for code that uses the IIS Admin Base Object.</P>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD width=50%>Metabase identifier</TD>
<TD width=50%><B>MD_ASP_TRACKTHREADINGMODEL</B></TD>
</TR>
<TR VALIGN="top">
<TD width=50%>Data type</TD>
<TD width=50%><B>DWORD_METADATA</B></TD>
</TR>
<TR VALIGN="top">
<TD width=50%>User type</TD>
<TD width=50%><B>ASP_MD_UT_APP</B></TD>
</TR>
</TABLE><BR>
<hr class="iis" size="1">
<p align="center"><em><a href="../../../common/colegal.htm">&copy; 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
</BODY>
</HTML>