共用方式為


ResourceMonitoringServiceCollectionExtensions 類別

定義

可讓您設定及註冊資源監視元件。

public ref class ResourceMonitoringServiceCollectionExtensions abstract sealed
public static class ResourceMonitoringServiceCollectionExtensions
type ResourceMonitoringServiceCollectionExtensions = class
Public Module ResourceMonitoringServiceCollectionExtensions
繼承
ResourceMonitoringServiceCollectionExtensions

方法

AddResourceMonitoring(IServiceCollection, Action<IResourceMonitorBuilder>)

設定並新增 IResourceMonitor 實作至服務集合。

AddResourceMonitoring(IServiceCollection)

設定並新增 IResourceMonitor 實作至服務集合。

適用於