GC.GetTotalPauseDuration 方法

定義

取得自進程開始以來,GC 中暫停的總時間量。

public:
 static TimeSpan GetTotalPauseDuration();
public static TimeSpan GetTotalPauseDuration ();
static member GetTotalPauseDuration : unit -> TimeSpan
Public Shared Function GetTotalPauseDuration () As TimeSpan

傳回

自進程開始時,GC 中暫停的總時間量。

適用於