次の方法で共有


LatencyRegistryServiceCollectionExtensions.RegisterMeasureNames メソッド

定義

待機時間コンテキストのメジャー名のセットを登録します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ RegisterMeasureNames(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, ... cli::array <System::String ^> ^ names);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection RegisterMeasureNames (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, params string[] names);
static member RegisterMeasureNames : Microsoft.Extensions.DependencyInjection.IServiceCollection * string[] -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function RegisterMeasureNames (services As IServiceCollection, ParamArray names As String()) As IServiceCollection

パラメーター

services
IServiceCollection

名前を追加する依存関係挿入コンテナー。

names
String[]

メジャー名のセット。

戻り値

services の値。

例外

services または namesnull です。

適用対象