ISnapshotProvider.GetSnapshot Method

Definition

Get a snapshot of the resource utilization of the system.

public:
 Microsoft::Extensions::Diagnostics::ResourceMonitoring::Snapshot GetSnapshot();
public Microsoft.Extensions.Diagnostics.ResourceMonitoring.Snapshot GetSnapshot ();
abstract member GetSnapshot : unit -> Microsoft.Extensions.Diagnostics.ResourceMonitoring.Snapshot
Public Function GetSnapshot () As Snapshot

Returns

An appropriate sample.

Applies to