AppDomain.MonitoringTotalAllocatedMemorySize 屬性

定義

取得應用程式定義域自其建立後已配置之所有記憶體的總大小 (以位元組為單位),但不減去已回收的記憶體。

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

屬性值

Int64

所有記憶體配置的總大小。

屬性

例外狀況

static (在 Visual Basic 中為 Shared) MonitoringIsEnabled 屬性已設為 false

適用於

另請參閱