IMeterFactory.Create(MeterOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new Meter instance.
public:
System::Diagnostics::Metrics::Meter ^ Create(System::Diagnostics::Metrics::MeterOptions ^ options);
public System.Diagnostics.Metrics.Meter Create (System.Diagnostics.Metrics.MeterOptions options);
abstract member Create : System.Diagnostics.Metrics.MeterOptions -> System.Diagnostics.Metrics.Meter
Public Function Create (options As MeterOptions) As Meter
Parameters
- options
- MeterOptions
The MeterOptions to use when creating the meter.
Returns
A new Meter instance.
Remarks
The Meter instance returned by this method should be cached by the factory and returned for subsequent requests for a meter with the same parameters (name, version, and tags).
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.