WebProcessStatistics.AppDomainCount プロパティ

定義

プロセス内のアプリケーション ドメインの数を取得します。

public:
 property int AppDomainCount { int get(); };
public int AppDomainCount { get; }
member this.AppDomainCount : int
Public ReadOnly Property AppDomainCount As Integer

プロパティ値

アプリケーション ドメインの数。

次のコード例は、値を取得する方法を AppDomainCount 示しています。

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

注釈

このプロパティは、通常、既定のドメインを含む、プロセス内の ASP.NET アプリケーションの数を参照します。

適用対象