HealthChecksBuilderDelegateExtensions.AddAsyncCheck Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
AddAsyncCheck(IHealthChecksBuilder, String, Func<CancellationToken,Task<HealthCheckResult>>, IEnumerable<String>) |
Belirtilen ad ve uygulama ile yeni bir sistem durumu denetimi ekler. |
AddAsyncCheck(IHealthChecksBuilder, String, Func<Task<HealthCheckResult>>, IEnumerable<String>) |
Belirtilen ad ve uygulama ile yeni bir sistem durumu denetimi ekler. |
AddAsyncCheck(IHealthChecksBuilder, String, Func<CancellationToken,Task<HealthCheckResult>>, IEnumerable<String>, Nullable<TimeSpan>) |
Belirtilen ad ve uygulama ile yeni bir sistem durumu denetimi ekler. |
AddAsyncCheck(IHealthChecksBuilder, String, Func<Task<HealthCheckResult>>, IEnumerable<String>, Nullable<TimeSpan>) |
Belirtilen ad ve uygulama ile yeni bir sistem durumu denetimi ekler. |
AddAsyncCheck(IHealthChecksBuilder, String, Func<CancellationToken,Task<HealthCheckResult>>, IEnumerable<String>)
Belirtilen ad ve uygulama ile yeni bir sistem durumu denetimi ekler.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddAsyncCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, System::String ^ name, Func<System::Threading::CancellationToken, System::Threading::Tasks::Task<Microsoft::Extensions::Diagnostics::HealthChecks::HealthCheckResult> ^> ^ check, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddAsyncCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult>> check, System.Collections.Generic.IEnumerable<string> tags);
static member AddAsyncCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string * Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult>> * seq<string> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddAsyncCheck (builder As IHealthChecksBuilder, name As String, check As Func(Of CancellationToken, Task(Of HealthCheckResult)), tags As IEnumerable(Of String)) As IHealthChecksBuilder
Parametreler
- builder
- IHealthChecksBuilder
- name
- String
Sistem durumu denetiminin adı.
- check
- Func<CancellationToken,Task<HealthCheckResult>>
Sistem durumu denetimi uygulamasını sağlayan bir temsilci.
- tags
- IEnumerable<String>
Sistem durumu denetimlerini filtrelemek için kullanılabilecek etiketlerin listesi.
Döndürülenler
Şunlara uygulanır
AddAsyncCheck(IHealthChecksBuilder, String, Func<Task<HealthCheckResult>>, IEnumerable<String>)
Belirtilen ad ve uygulama ile yeni bir sistem durumu denetimi ekler.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddAsyncCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, System::String ^ name, Func<System::Threading::Tasks::Task<Microsoft::Extensions::Diagnostics::HealthChecks::HealthCheckResult> ^> ^ check, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddAsyncCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Func<System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult>> check, System.Collections.Generic.IEnumerable<string> tags);
static member AddAsyncCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string * Func<System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult>> * seq<string> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddAsyncCheck (builder As IHealthChecksBuilder, name As String, check As Func(Of Task(Of HealthCheckResult)), tags As IEnumerable(Of String)) As IHealthChecksBuilder
Parametreler
- builder
- IHealthChecksBuilder
- name
- String
Sistem durumu denetiminin adı.
- check
- Func<Task<HealthCheckResult>>
Sistem durumu denetimi uygulamasını sağlayan bir temsilci.
- tags
- IEnumerable<String>
Sistem durumu denetimlerini filtrelemek için kullanılabilecek etiketlerin listesi.
Döndürülenler
Şunlara uygulanır
AddAsyncCheck(IHealthChecksBuilder, String, Func<CancellationToken,Task<HealthCheckResult>>, IEnumerable<String>, Nullable<TimeSpan>)
Belirtilen ad ve uygulama ile yeni bir sistem durumu denetimi ekler.
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddAsyncCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult>> check, System.Collections.Generic.IEnumerable<string>? tags = default, TimeSpan? timeout = default);
static member AddAsyncCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string * Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult>> * seq<string> * Nullable<TimeSpan> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddAsyncCheck (builder As IHealthChecksBuilder, name As String, check As Func(Of CancellationToken, Task(Of HealthCheckResult)), Optional tags As IEnumerable(Of String) = Nothing, Optional timeout As Nullable(Of TimeSpan) = Nothing) As IHealthChecksBuilder
Parametreler
- builder
- IHealthChecksBuilder
- name
- String
Sistem durumu denetiminin adı.
- check
- Func<CancellationToken,Task<HealthCheckResult>>
Sistem durumu denetimi uygulamasını sağlayan bir temsilci.
- tags
- IEnumerable<String>
Sistem durumu denetimlerini filtrelemek için kullanılabilecek etiketlerin listesi.
Döndürülenler
Şunlara uygulanır
AddAsyncCheck(IHealthChecksBuilder, String, Func<Task<HealthCheckResult>>, IEnumerable<String>, Nullable<TimeSpan>)
Belirtilen ad ve uygulama ile yeni bir sistem durumu denetimi ekler.
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddAsyncCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, string name, Func<System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult>> check, System.Collections.Generic.IEnumerable<string>? tags = default, TimeSpan? timeout = default);
static member AddAsyncCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string * Func<System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult>> * seq<string> * Nullable<TimeSpan> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddAsyncCheck (builder As IHealthChecksBuilder, name As String, check As Func(Of Task(Of HealthCheckResult)), Optional tags As IEnumerable(Of String) = Nothing, Optional timeout As Nullable(Of TimeSpan) = Nothing) As IHealthChecksBuilder
Parametreler
- builder
- IHealthChecksBuilder
- name
- String
Sistem durumu denetiminin adı.
- check
- Func<Task<HealthCheckResult>>
Sistem durumu denetimi uygulamasını sağlayan bir temsilci.
- tags
- IEnumerable<String>
Sistem durumu denetimlerini filtrelemek için kullanılabilecek etiketlerin listesi.