AppDomain.MonitoringSurvivedMemorySize プロパティ

定義

最後のコレクションから存続し、現在のアプリケーション ドメインによって参照されていることがわかっているバイト数を取得します。

public:
 property long MonitoringSurvivedMemorySize { long get(); };
public long MonitoringSurvivedMemorySize { get; }
public long MonitoringSurvivedMemorySize { [System.Security.SecurityCritical] get; }
member this.MonitoringSurvivedMemorySize : int64
[<get: System.Security.SecurityCritical>]
member this.MonitoringSurvivedMemorySize : int64
Public ReadOnly Property MonitoringSurvivedMemorySize As Long

プロパティ値

残っているバイト数。

属性

例外

static (Visual Basic では Shared) MonitoringIsEnabled プロパティは false に設定されます。

注釈

統計は、各ガベージ コレクションで更新されます。 ただし、完全なブロッキング コレクションの後にのみ正確であることが保証されます。つまり、すべての世代を含み、コレクションの実行中にアプリケーションを停止するコレクションです。 たとえば、 GC.Collect() メソッドのオーバーロードは、完全なブロッキング コレクションを実行します。 (同時実行コレクションはバックグラウンドで発生し、アプリケーションをブロックしません)。

適用対象

こちらもご覧ください