WebProcessStatistics.AppDomainCount Property

Definition

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