編輯

共用方式為


AppDomain.MonitoringTotalAllocatedMemorySize Property

Definition

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.

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

Property Value

The total size of all memory allocations.

Attributes

Exceptions

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

Applies to

See also