WebProcessStatistics.AppDomainCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of application domains in the process.
public:
property int AppDomainCount { int get(); };
public int AppDomainCount { get; }
member this.AppDomainCount : int
Public ReadOnly Property AppDomainCount As Integer
Property Value
The number of application domains.
Examples
The following code example shows how to get the AppDomainCount value.
public string GetAppDomainCount()
{
// Get the app domain count.
return (string.Format(
"Application domain count: {0}",
processStatistics.AppDomainCount.ToString()));
}
Public Function GetAppDomainCount() As String
' Get the app domain count.
Return String.Format( _
"Application domain count: {0}", _
processStatistics.AppDomainCount.ToString())
End Function 'GetAppDomainCount
Remarks
This property usually refers to the number of ASP.NET applications in the process, including the default domain.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.