.NET Framework Class Library
AppDomain..::.MonitoringTotalAllocatedMemorySize Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the total size, in bytes, of all memory allocations that have been made by the application domain since it was created, without subtracting memory that has been collected.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)
Syntax

Visual Basic (Declaration)
Public ReadOnly Property MonitoringTotalAllocatedMemorySize As Long
    Get
Visual Basic (Usage)
Dim instance As AppDomain
Dim value As Long

value = instance.MonitoringTotalAllocatedMemorySize
C#
public long MonitoringTotalAllocatedMemorySize { get; }
Visual C++
public:
property long long MonitoringTotalAllocatedMemorySize {
    long long get ();
}
F#
member MonitoringTotalAllocatedMemorySize : int64

Property Value

Type: System..::.Int64
The total size of all memory allocations.
Exceptions

ExceptionCondition
InvalidOperationException

The static (Shared in Visual Basic) MonitoringIsEnabled property is set to false.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
See Also

Reference

Page view tracker