HealthCheckRegistration 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
HealthCheckRegistration(String, IHealthCheck, Nullable<HealthStatus>, IEnumerable<String>)
- Source:
- HealthCheckRegistration.cs
- Source:
- HealthCheckRegistration.cs
- Source:
- HealthCheckRegistration.cs
기존 IHealthCheck 인스턴스에 대한 새 HealthCheckRegistration을 만듭니다.
public:
HealthCheckRegistration(System::String ^ name, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck ^ instance, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public HealthCheckRegistration (string name, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck instance, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable<string>? tags);
new Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration : string * Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> -> Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration
Public Sub New (name As String, instance As IHealthCheck, failureStatus As Nullable(Of HealthStatus), tags As IEnumerable(Of String))
매개 변수
- name
- String
상태 검사 이름입니다.
- instance
- IHealthCheck
IHealthCheck 인스턴스입니다.
- failureStatus
- Nullable<HealthStatus>
상태 검사 실패 시 보고되어야 하는 HealthStatus입니다. 제공된 값이 null
이면 Unhealthy가 보고됩니다.
- tags
- IEnumerable<String>
상태 검사를 필터링하는 데 사용할 수 있는 태그 목록입니다.
적용 대상
HealthCheckRegistration(String, Func<IServiceProvider,IHealthCheck>, Nullable<HealthStatus>, IEnumerable<String>)
- Source:
- HealthCheckRegistration.cs
- Source:
- HealthCheckRegistration.cs
- Source:
- HealthCheckRegistration.cs
기존 IHealthCheck 인스턴스에 대한 새 HealthCheckRegistration을 만듭니다.
public:
HealthCheckRegistration(System::String ^ name, Func<IServiceProvider ^, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck ^> ^ factory, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public HealthCheckRegistration (string name, Func<IServiceProvider,Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck> factory, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable<string>? tags);
new Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration : string * Func<IServiceProvider, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck> * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> -> Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration
Public Sub New (name As String, factory As Func(Of IServiceProvider, IHealthCheck), failureStatus As Nullable(Of HealthStatus), tags As IEnumerable(Of String))
매개 변수
- name
- String
상태 검사 이름입니다.
- factory
- Func<IServiceProvider,IHealthCheck>
IHealthCheck 인스턴스를 만드는 데 사용되는 대리자입니다.
- failureStatus
- Nullable<HealthStatus>
상태 검사에서 실패를 보고할 때 보고되어야 하는 HealthStatus입니다. 제공된 값이 null
이면 Unhealthy가 보고됩니다.
- tags
- IEnumerable<String>
상태 검사를 필터링하는 데 사용할 수 있는 태그 목록입니다.
적용 대상
HealthCheckRegistration(String, IHealthCheck, Nullable<HealthStatus>, IEnumerable<String>, Nullable<TimeSpan>)
- Source:
- HealthCheckRegistration.cs
- Source:
- HealthCheckRegistration.cs
- Source:
- HealthCheckRegistration.cs
기존 IHealthCheck 인스턴스에 대한 새 HealthCheckRegistration을 만듭니다.
public:
HealthCheckRegistration(System::String ^ name, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck ^ instance, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, System::Collections::Generic::IEnumerable<System::String ^> ^ tags, Nullable<TimeSpan> timeout);
public HealthCheckRegistration (string name, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck instance, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable<string>? tags, TimeSpan? timeout);
new Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration : string * Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> * Nullable<TimeSpan> -> Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration
Public Sub New (name As String, instance As IHealthCheck, failureStatus As Nullable(Of HealthStatus), tags As IEnumerable(Of String), timeout As Nullable(Of TimeSpan))
매개 변수
- name
- String
상태 검사 이름입니다.
- instance
- IHealthCheck
IHealthCheck 인스턴스입니다.
- failureStatus
- Nullable<HealthStatus>
상태 검사 실패 시 보고되어야 하는 HealthStatus입니다. 제공된 값이 null
이면 Unhealthy가 보고됩니다.
- tags
- IEnumerable<String>
상태 검사를 필터링하는 데 사용할 수 있는 태그 목록입니다.
적용 대상
HealthCheckRegistration(String, Func<IServiceProvider,IHealthCheck>, Nullable<HealthStatus>, IEnumerable<String>, Nullable<TimeSpan>)
- Source:
- HealthCheckRegistration.cs
- Source:
- HealthCheckRegistration.cs
- Source:
- HealthCheckRegistration.cs
기존 IHealthCheck 인스턴스에 대한 새 HealthCheckRegistration을 만듭니다.
public:
HealthCheckRegistration(System::String ^ name, Func<IServiceProvider ^, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck ^> ^ factory, Nullable<Microsoft::Extensions::Diagnostics::HealthChecks::HealthStatus> failureStatus, System::Collections::Generic::IEnumerable<System::String ^> ^ tags, Nullable<TimeSpan> timeout);
public HealthCheckRegistration (string name, Func<IServiceProvider,Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck> factory, Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus? failureStatus, System.Collections.Generic.IEnumerable<string>? tags, TimeSpan? timeout);
new Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration : string * Func<IServiceProvider, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck> * Nullable<Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus> * seq<string> * Nullable<TimeSpan> -> Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration
Public Sub New (name As String, factory As Func(Of IServiceProvider, IHealthCheck), failureStatus As Nullable(Of HealthStatus), tags As IEnumerable(Of String), timeout As Nullable(Of TimeSpan))
매개 변수
- name
- String
상태 검사 이름입니다.
- factory
- Func<IServiceProvider,IHealthCheck>
IHealthCheck 인스턴스를 만드는 데 사용되는 대리자입니다.
- failureStatus
- Nullable<HealthStatus>
상태 검사에서 실패를 보고할 때 보고되어야 하는 HealthStatus입니다. 제공된 값이 null
이면 Unhealthy가 보고됩니다.
- tags
- IEnumerable<String>
상태 검사를 필터링하는 데 사용할 수 있는 태그 목록입니다.
적용 대상
.NET