WebProcessStatistics.AppDomainCount Property

 

Gets the number of application domains in the process.

Namespace:   System.Web.Management
Assembly:  System.Web (in System.Web.dll)

Public ReadOnly Property AppDomainCount As Integer

Property Value

Type: System.Int32

The number of application domains.

This property usually refers to the number of ASP.NET applications in the process, including the default domain.

The following code example shows how to get the AppDomainCount value.

Public Function GetAppDomainCount() As String
    ' Get the app domain count.
    Return String.Format( _
    "Application domain count: {0}", _
    processStatistics.AppDomainCount.ToString())
End Function 'GetAppDomainCount


.NET Framework
Available since 2.0
Return to top
Show: