LatencyContextExtensions.AddLatencyContext Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
AddLatencyContext(IServiceCollection) |
Fügt den Latenzkontext hinzu. |
AddLatencyContext(IServiceCollection, IConfigurationSection) |
Fügt den Latenzkontext hinzu. |
AddLatencyContext(IServiceCollection, Action<LatencyContextOptions>) |
Fügt den Latenzkontext hinzu. |
AddLatencyContext(IServiceCollection)
- Quelle:
- LatencyContextExtensions.cs
Fügt den Latenzkontext hinzu.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddLatencyContext(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLatencyContext (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddLatencyContext : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddLatencyContext (services As IServiceCollection) As IServiceCollection
Parameter
- services
- IServiceCollection
Der Dependency Injection-Container.
Gibt zurück
Der Wert von services
.
Gilt für:
AddLatencyContext(IServiceCollection, IConfigurationSection)
- Quelle:
- LatencyContextExtensions.cs
Fügt den Latenzkontext hinzu.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddLatencyContext(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLatencyContext (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member AddLatencyContext : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddLatencyContext (services As IServiceCollection, section As IConfigurationSection) As IServiceCollection
Parameter
- services
- IServiceCollection
Der Dependency Injection-Container.
- section
- IConfigurationSection
Die Konfiguration von LatencyContextOptions.
Gibt zurück
Der Wert von services
.
Gilt für:
AddLatencyContext(IServiceCollection, Action<LatencyContextOptions>)
- Quelle:
- LatencyContextExtensions.cs
Fügt den Latenzkontext hinzu.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddLatencyContext(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::Extensions::Diagnostics::Latency::LatencyContextOptions ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddLatencyContext (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Diagnostics.Latency.LatencyContextOptions> configure);
static member AddLatencyContext : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Diagnostics.Latency.LatencyContextOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddLatencyContext (services As IServiceCollection, configure As Action(Of LatencyContextOptions)) As IServiceCollection
Parameter
- services
- IServiceCollection
Der Dependency Injection-Container.
- configure
- Action<LatencyContextOptions>
Der LatencyContextOptions-Konfigurationsdelegat.
Gibt zurück
Der Wert von services
.
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für