HttpClientHandler.MeterFactory Property
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.
Important
This API is not CLS-compliant.
Gets or sets the IMeterFactory to create a custom Meter for the HttpClientHandler instance.
public:
property System::Diagnostics::Metrics::IMeterFactory ^ MeterFactory { System::Diagnostics::Metrics::IMeterFactory ^ get(); void set(System::Diagnostics::Metrics::IMeterFactory ^ value); };
[System.CLSCompliant(false)]
public System.Diagnostics.Metrics.IMeterFactory? MeterFactory { get; set; }
[<System.CLSCompliant(false)>]
member this.MeterFactory : System.Diagnostics.Metrics.IMeterFactory with get, set
Public Property MeterFactory As IMeterFactory
Property Value
- Attributes
Remarks
When MeterFactory is set to a non-null
value, all metrics emitted by the HttpClientHandler instance will be recorded using the Meter provided by the IMeterFactory.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.