共用方式為


MetricsOptions.Rules 屬性

定義

取得規則清單,識別哪些計量、檢測和接聽程式已啟用。

public:
 property System::Collections::Generic::IList<Microsoft::Extensions::Diagnostics::Metrics::InstrumentRule ^> ^ Rules { System::Collections::Generic::IList<Microsoft::Extensions::Diagnostics::Metrics::InstrumentRule ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.Extensions.Diagnostics.Metrics.InstrumentRule> Rules { get; }
member this.Rules : System.Collections.Generic.IList<Microsoft.Extensions.Diagnostics.Metrics.InstrumentRule>
Public ReadOnly Property Rules As IList(Of InstrumentRule)

屬性值

適用於